jvazquez-r7
|
b61a7f43ef
|
Use Msf::StringIO context on registry_spec
|
2015-12-10 21:47:22 -06:00 |
jvazquez-r7
|
bc80bf7fdb
|
use Msf::StringIO on client_spec
|
2015-12-10 21:47:22 -06:00 |
jvazquez-r7
|
046a73b3b3
|
Use set_msf_data on connection_spec
|
2015-12-10 21:47:22 -06:00 |
jvazquez-r7
|
3d0fcdf84d
|
Add set_msf_data
|
2015-12-10 21:47:22 -06:00 |
jvazquez-r7
|
2041149d54
|
Use Msf::StringIO in connection_spec
|
2015-12-10 21:47:22 -06:00 |
jvazquez-r7
|
4872628ff5
|
Try to make it generic
|
2015-12-10 21:47:22 -06:00 |
jvazquez-r7
|
236c28b6fb
|
Add shared context
|
2015-12-10 21:47:22 -06:00 |
Brent Cook
|
11ea7ee5b9
|
update mocks for smb specs
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
c3e2615a23
|
Implement stub methods instead using allow which verifies
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
bb7c463c44
|
Remove operators after .to with matchers
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
76d1f6ba0a
|
Fix Rex::Psot::Meterpreter::PacketParser spec
MSP-13484
Use allow instead of expect because call count isn't important.
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
04ea44e76b
|
eq {} -> eq({})
So that the `{}` isn't interpreted as a block to `eq`.
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
f31e578780
|
Add missing RSpec. before describe
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
4f2ed69daa
|
Update fivemat to rspec 3 compatible version
MS-673
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
bde4f8bbe7
|
Fix allows in Exploit::Remote::Java::Rmi::Client::Jmx::Server spec
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
e3f2db8f09
|
Fix allows in Exploit::Remote::Java::Rmi::Client::Jmx::Connection
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
c754dca48b
|
fix allows in Exploit::Remote::JAva::Rmi::Client spec
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
61e1dc2363
|
Fix allows in FirefoxAddonGenerator spec
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
2d8d876eaa
|
Fix allow errors in BrowserAutopwn2 specs
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
00ad6afd4f
|
Fix typo shoftname -> shortname
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
164f24ef8a
|
Fix stubbing on class instead of instance
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
fbddd4cc47
|
Fix IO stubbing
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
db42c9f760
|
Fix service double stubbing
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
c46b97cef9
|
=~ <Array> -> match_array
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
99eaa8efb3
|
Change some expects back to allows to match old stubs
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
f48f8c1540
|
Use `be` before operators
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
4f23b83fa3
|
.should\n -> expect().to
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
53f5c019f9
|
Fix doubles
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
3d64c52c9a
|
it { should_not -> it { is_expected.not_to
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
6f71810010
|
it { should -> it { is_expected.to
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
ba88de84ec
|
Fix mocking errors
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
4858ae63bd
|
Thread class name for debugger has changed, so add new name
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
910b630d96
|
it { should == -> it { is_expected.to eq
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
a8f766ffbd
|
Fix unimplemented method allows
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
05585acb89
|
.should_not -> expect().not_to
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
64a870aac0
|
Fix not implemented error by using double
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
337be4355d
|
Fix Msf::DBManager spec upgrade problems
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
d1f64363b1
|
.any_instance -> *_any_isntance_of()
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
d7d484a862
|
Use double to properly expect unimplemented methods
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
cd57ed289f
|
Fix mistaken substitution
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
0eb68ef16c
|
.should_not_receive -> expect().not_to receive
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
4cec58d78c
|
.stub_chain -> expect().to receive_message_chain
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
4870909afc
|
.should -> expect().to
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
2534b18f4c
|
.stub -> expect().to receive
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
03c649bb91
|
should_receive -> expect().to receive
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
6f29e9a4cf
|
.should == -> expect().to eq
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
3fff6cabce
|
should_not == -> expect().not_to eq
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
fc9ca84da5
|
shared_context -> RSpec.shared_context
MSP-13484
shared_context must be qualified as global patching is disabled in
spec_helper.
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
2b02b9e081
|
shared_examples -> RSpec.shared_examples
MSP-13484
|
2015-12-10 21:47:22 -06:00 |
Luke Imhoff
|
d6bf0fd781
|
decribe -> RSpec.describe
MSP-13484
Disabled expose_dsl_globally in spec_helper, so need to qualify
top-level describe.
|
2015-12-10 21:47:22 -06:00 |