Work around upcoming minitest insanity
authorTom Hughes <tom@compton.nu>
Fri, 2 Dec 2016 22:29:44 +0000 (22:29 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 2 Dec 2016 22:29:44 +0000 (22:29 +0000)
commitb9b255fa65813af95702b848cb084e2286345de9
tree494e350fcfd96eac84989ee8c9e243b6844d46f8
parentc8f26592a74e776b9827ed68ccc1ee345ff52408
Work around upcoming minitest insanity

Minitest 6 will not allow assert_equal to compare for equality
with nil and minitest 5 has already started warning about it.

That's fine if you're comparing with a nil constant, but if you're
comparing with an expression that is sometimes nil and sometimes
not nil it's an absolute pain in the rear end.
test/integration/oauth_test.rb
test/lib/bounding_box_test.rb
test/lib/locale_test.rb
test/models/user_test.rb
test/test_helper.rb