spec/support/shared/contexts/mdm/workspace.rb in metasploit-credential-0.14.7 vs spec/support/shared/contexts/mdm/workspace.rb in metasploit-credential-0.14.8

- old
+ new

@@ -1,6 +1,6 @@ shared_context 'Mdm::Workspace' do before(:each) do # TODO remove Rex usage from Mdm as it is not a declared dependency - allow_any_instance_of(Mdm::Workspace).to receive(:valid_ip_or_range?).and_return(true) + Mdm::Workspace.any_instance.stub(:valid_ip_or_range?).and_return(true) end end \ No newline at end of file