sendgrid / ruby-http-client

SendGrid's Ruby HTTP Client for calling APIs
https://sendgrid.com
MIT License
23 stars 54 forks source link

add assert_nil to tests following deprecation warning #19

Closed jrectenwald closed 7 years ago

jrectenwald commented 7 years ago

When running the tests, there is a warning for the tests which use assert_equal for nil values

DEPRECATED: Use assert_nil if expecting nil

I added the assert_nil method in both of these cases.

mbernier commented 7 years ago

@jrectenwald I am not 100% familiar with the tests on the sendgrid-ruby library, but I am assuming there are some tests just like this one there too :)

thinkingserious commented 7 years ago

Hello @jrectenwald,

Thanks again for the PR!

We want to show our appreciation by sending you some swag. Could you please fill out this form so we can send it to you? Thanks!

Team SendGrid DX