]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/oauth_test.rb
Update to leaflet 1.0.3
[rails.git] / test / integration / oauth_test.rb
index 41c67863295b971f6fc9f6465715c06d5cdb2645..c10699f2aa1e422d9d37e0c9ec07848a0b08e712 100644 (file)
@@ -7,7 +7,7 @@ class OAuthTest < ActionDispatch::IntegrationTest
   include OAuth::Helper
 
   def setup
-    stub_signup_requests
+    stub_hostip_requests
   end
 
   def test_oauth10_web_app
@@ -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_equal options[:oauth_callback], token.callback_url
+    assert_equal_allowing_nil options[:oauth_callback], token.callback_url
     assert_allowed token, client.permissions
 
     token