right_hook 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/right_hook/version.rb +1 -1
- data/spec/authenticator_spec.rb +1 -1
- metadata +1 -1
data/lib/right_hook/version.rb
CHANGED
data/spec/authenticator_spec.rb
CHANGED
@@ -29,7 +29,7 @@ describe RightHook::Authenticator do
|
|
29
29
|
|
30
30
|
describe '#list_authorizations' do
|
31
31
|
it 'delegates to list_authorizations' do
|
32
|
-
Octokit::Client.any_instance.should_receive(:
|
32
|
+
Octokit::Client.any_instance.should_receive(:authorizations).and_return(:the_authorizations)
|
33
33
|
|
34
34
|
expect(described_class.build('octocat', 'pass').list_authorizations).to eq(:the_authorizations)
|
35
35
|
end
|