File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
spec/lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 546
546
it "should list default workspace" do
547
547
db . cmd_workspace
548
548
expect ( @output ) . to match_array [
549
- "* default"
549
+ "" ,
550
+ "Workspaces" ,
551
+ "==========" ,
552
+ "current name hosts services vulns creds loots notes" ,
553
+ "------- ---- ----- -------- ----- ----- ----- -----" ,
554
+ "* default 0 0 0 0 0 0"
550
555
]
551
556
end
552
557
555
560
@output = [ ]
556
561
db . cmd_workspace
557
562
expect ( @output ) . to match_array [
558
- " default" ,
559
- "* foo"
563
+ "" ,
564
+ "Workspaces" ,
565
+ "==========" ,
566
+ "current name hosts services vulns creds loots notes" ,
567
+ "------- ---- ----- -------- ----- ----- ----- -----" ,
568
+ " default 0 0 0 0 0 0" ,
569
+ "* foo 0 0 0 0 0 0"
560
570
]
561
571
end
562
572
end
You can’t perform that action at this time.
0 commit comments