replace rspec_reset with obscure reset line stolen from rspec-mocks
This commit is contained in:
parent
7bb055932a
commit
a0bbd899de
2 changed files with 5 additions and 4 deletions
|
|
@ -98,7 +98,8 @@ describe Workers::HttpMulti do
|
|||
person.serialized_public_key = "-----BEGIN RSA PUBLIC KEY-----\nPsych!\n-----END RSA PUBLIC KEY-----"
|
||||
person.save
|
||||
|
||||
Salmon::EncryptedSlap.rspec_reset
|
||||
# Should be possible to drop when converting should_receive to expect(...).to
|
||||
RSpec::Mocks.proxy_for(Salmon::EncryptedSlap).reset
|
||||
|
||||
Typhoeus.stub(person.receive_url).and_return @response
|
||||
Typhoeus.stub(@people[1].receive_url).and_return @response
|
||||
|
|
|
|||
Loading…
Reference in a new issue