Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Feliciano authored and amro committed Feb 18, 2022
1 parent b2eb99e commit 6933225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/gibbon/gibbon_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
it "raises with a valid SSRF attack" do
@api_key = "-attacker.net/test/?"
@gibbon.api_key = @api_key
expect {@gibbon.try.retrieve}.not_to raise_error
expect {@gibbon.try.retrieve}.to raise_error(Gibbon::MailChimpError, /SSRF attempt/)
end
end

Expand Down

0 comments on commit 6933225

Please sign in to comment.