X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e4ce1c5f2fa76ecb4a5d3bdf36fab7f6f389f881..8919c8c40416a70e1a5516f03e2628c5dd380d40:/test/integration/oauth_test.rb?ds=sidebyside diff --git a/test/integration/oauth_test.rb b/test/integration/oauth_test.rb index 579941774..2c473aac5 100644 --- a/test/integration/oauth_test.rb +++ b/test/integration/oauth_test.rb @@ -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