Skip to content

Commit

Permalink
Mock cleanup call again
Browse files Browse the repository at this point in the history
  • Loading branch information
fschueller committed Apr 6, 2017
1 parent bf5f203 commit 4d51084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/connect/client_spec.rb
Expand Up @@ -411,6 +411,7 @@
allow(subject).to receive_messages(system_auth: 'Basic: encodedstring')
allow(subject).to receive(:registered?).and_return true
allow(subject.api).to receive(:deregister).with('Basic: encodedstring').and_return stubbed_response
allow(System).to receive(:cleanup!).and_return(true)
end

it 'calls underlying api and removes credentials file' do
Expand Down

0 comments on commit 4d51084

Please sign in to comment.