We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ee32b3 commit ef59d88Copy full SHA for ef59d88
spec/lib/msf/ui/command_dispatcher/db_spec.rb
@@ -27,10 +27,11 @@
27
priv = FactoryGirl.create(:metasploit_credential_password, data: password)
28
pub = FactoryGirl.create(:metasploit_credential_public, username: username)
29
core = FactoryGirl.create(:metasploit_credential_core,
30
+ origin: FactoryGirl.create(:metasploit_credential_origin_import),
31
private: priv,
32
public: pub,
33
realm: nil,
- workspace: Mdm::Workspace.last)
34
+ workspace: framework.db.workspace)
35
end
36
it "should not add a Core" do
37
expect {
0 commit comments