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 deprecation warning for assert_nil in ClassMethodTest #309

Merged

Conversation

floehopper
Copy link
Member

These unit tests are pretty horrible and this one in particular didn't seem to be testing anything useful. The fix makes it test the ClassMethod#mock slightly more convincingly and avoids the deprecation warning.

Fixes #308.

These unit tests are pretty horrible and this one in particular didn't
seem to be testing anything useful. The fix makes it test the
`ClassMethod#mock` slightly more convincingly and avoids the deprecation
warning.

Fixes #308.
@floehopper floehopper merged commit 73af600 into master Aug 24, 2017
@floehopper floehopper deleted the fix-deprecation-warning-for-assert-nil-in-class-method-test branch August 24, 2017 23:04
This was referenced Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix deprecation warning for assert_nil in ClassMethodTest
1 participant