]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/oauth_test.rb
WIP diary comment subscriptions
[rails.git] / test / integration / oauth_test.rb
index aed52f77c988ef659af33635db5fc254a5c82ab5..32314703021ccafac736f9e0f60d0f1e0842247e 100644 (file)
@@ -329,6 +329,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_allowed token, client.permissions
 
     token
     assert_allowed token, client.permissions
 
     token