metasploit-framework/spec/lib
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
..
active_record/connection_adapters/abstract_adapter Remove active_record patch 2013-03-18 11:32:21 -05:00
msf Do not mock on nil. 2013-04-22 10:25:01 -05:00
rex Slightly more readable assertion 2013-03-07 14:45:58 -06:00
fastlib_spec.rb Use typed_enable?(type) instead of protected enablement_by_type[type] 2012-10-31 11:43:28 -05:00