metasploit-framework/spec
Luke Imhoff 4b0e639cf1 Do not mock on nil.
[#47979793]

Using `should_not_receive` on `nil` gives `nil` a permanent
`@mock_proxy`, which causes Marshal.dump to fail in later tests (see
https://travis-ci.org/rapid7/metasploit-framework/builds/6502350).  By,
checking there are no NoMethoErrors raised, nil can be tested as
parent_module, but works around the RSpec issue
(https://github.com/rspec/rspec-mocks/issues/274).
2013-04-22 10:25:01 -05:00
..
factories/mdm Msf::DBManager::Export#extract_module_detail_info spec 2013-04-20 16:44:42 -05:00
lib Do not mock on nil. 2013-04-22 10:25:01 -05:00
support/shared Msf::DBManager::Export#extract_module_detail_info spec 2013-04-20 16:44:42 -05:00
spec_helper.rb Msf::DBManager#import_msf_xml refactor 2013-04-01 16:06:40 -05:00