Skip to content

add assert_nil to tests following deprecation warning #19

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

Merged
merged 1 commit into from
Oct 11, 2017

Conversation

jrectenwald
Copy link
Contributor

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.

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 11, 2017
@mbernier
Copy link

@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 thinkingserious added difficulty: easy fix is easy in difficulty hacktoberfest labels Oct 11, 2017
@thinkingserious thinkingserious merged commit 628ed9c into sendgrid:master Oct 11, 2017
@thinkingserious
Copy link
Contributor

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

@jrectenwald jrectenwald deleted the fix-warning-test-nil branch October 27, 2018 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy fix is easy in difficulty status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants