]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/oauth_test.rb
Use with_locale for the copyright page
[rails.git] / test / integration / oauth_test.rb
index 579941774567b621b156cccf1ff197da99b2f3e9..2c473aac5e799040cff309c6ebf43411bbd9b991 100644 (file)
@@ -358,7 +358,7 @@ class OAuthTest < ActionDispatch::IntegrationTest
     params = CGI.parse(URI.parse(response.location).query)
 
     assert_not_nil params["oauth_verifier"]
-    assert params["oauth_verifier"].first.present?
+    assert_predicate params["oauth_verifier"].first, :present?
 
     params["oauth_verifier"].first
   end