X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7cc1cc618d1512314a5942188db58f03113fe56e..5bcf82d8658d1d9ae389807362f542189d21ec56:/test/integration/oauth_test.rb diff --git a/test/integration/oauth_test.rb b/test/integration/oauth_test.rb index e3ca53520..c10699f2a 100644 --- a/test/integration/oauth_test.rb +++ b/test/integration/oauth_test.rb @@ -6,8 +6,8 @@ class OAuthTest < ActionDispatch::IntegrationTest include OAuth::Helper - setup do - stub_signup_requests + def setup + 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