Skip to content

Commit 8f0514d

Browse files
committed
Fix rspec warning
1 parent ebdbffd commit 8f0514d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/errbit_github_plugin/issue_tracker_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
expect(Octokit::Client).to receive(:new).with(
153153
login: user["github_login"], access_token: user["github_oauth_token"]
154154
).and_raise(Octokit::Unauthorized)
155-
expect { subject }.to raise_error
155+
expect { subject }.to raise_error(ErrbitGithubPlugin::AuthenticationError)
156156
end
157157
end
158158
end

0 commit comments

Comments
 (0)