Stub out :create_match_for_vuln on MatchSet since we already test it
MSP-13119bug/bundler_fix
parent
393a71cf46
commit
d4b9b8e1a4
|
@ -122,6 +122,10 @@ shared_examples_for 'Msf::DBManager::Session' do
|
|||
end
|
||||
|
||||
context 'with a run_id in user_data' do
|
||||
before(:each) do
|
||||
MetasploitDataModels::AutomaticExploitation::MatchSet.any_instance.stub(:create_match_for_vuln).and_return(nil)
|
||||
end
|
||||
|
||||
let(:match_set) do
|
||||
FactoryGirl.create(:automatic_exploitation_match_set, user: session_workspace.owner,workspace:session_workspace)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue