Fix spec because I suck

bug/bundler_fix
William Vu 2017-01-15 03:53:56 -06:00
parent 38382bb61a
commit 360ad26d9c
1 changed files with 13 additions and 3 deletions

View File

@ -546,7 +546,12 @@ RSpec.describe Msf::Ui::Console::CommandDispatcher::Db do
it "should list default workspace" do
db.cmd_workspace
expect(@output).to match_array [
"* default"
"",
"Workspaces",
"==========",
"current name hosts services vulns creds loots notes",
"------- ---- ----- -------- ----- ----- ----- -----",
"* default 0 0 0 0 0 0"
]
end
@ -555,8 +560,13 @@ RSpec.describe Msf::Ui::Console::CommandDispatcher::Db do
@output = []
db.cmd_workspace
expect(@output).to match_array [
" default",
"* foo"
"",
"Workspaces",
"==========",
"current name hosts services vulns creds loots notes",
"------- ---- ----- -------- ----- ----- ----- -----",
" default 0 0 0 0 0 0",
"* foo 0 0 0 0 0 0"
]
end
end