Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rspec raise_error warning #413

Merged
merged 1 commit into from Apr 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/jwt/verify_spec.rb
Expand Up @@ -243,7 +243,7 @@
it "must raise error when #{method} option is set to true" do
expect do
described_class.verify_claims(payload, options.merge(method => true).merge(fail_verifications_options))
end.to raise_error
end.to raise_error JWT::DecodeError
end
end
end
Expand Down