Use RSpec::Mocks::Double
parent
fdb66d978b
commit
16111aa2f7
|
@ -23,7 +23,7 @@ describe Rex::Proto::PJL::Client do
|
|||
|
||||
context "#initialize" do
|
||||
it "should initialize a 'sock' ivar" do
|
||||
cli.instance_variable_get(:@sock).class.should eq(RSpec::Mocks::Mock)
|
||||
cli.instance_variable_get(:@sock).class.should eq(RSpec::Mocks::Double)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue