]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/oauth_test.rb
Work around upcoming minitest insanity
[rails.git] / test / integration / oauth_test.rb
index 2452e6e6b8c76cfebd6eb8bd87956410e0511d40..c10699f2aa1e422d9d37e0c9ec07848a0b08e712 100644 (file)
@@ -333,7 +333,7 @@ class OAuthTest < ActionDispatch::IntegrationTest
     assert_not_nil token.created_at
     assert_nil token.authorized_at
     assert_nil token.invalidated_at
     assert_not_nil token.created_at
     assert_nil token.authorized_at
     assert_nil token.invalidated_at
-    assert_equal options[:oauth_callback], token.callback_url
+    assert_equal_allowing_nil options[:oauth_callback], token.callback_url
     assert_allowed token, client.permissions
 
     token
     assert_allowed token, client.permissions
 
     token