Skip to content

Commit

Permalink
Fix rspec raise_error warning
Browse files Browse the repository at this point in the history
  • Loading branch information
excpt committed Apr 19, 2021
1 parent 2cea14f commit fb0cd41
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit fb0cd41

Please sign in to comment.