X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..b5d903c603f4daa984f5a8d85aacd313beaaeebf:/test/models/client_application_test.rb diff --git a/test/models/client_application_test.rb b/test/models/client_application_test.rb index 9684513c4..8e5b21aff 100644 --- a/test/models/client_application_test.rb +++ b/test/models/client_application_test.rb @@ -14,7 +14,7 @@ class ClientApplicationTest < ActiveSupport::TestCase bad.each do |url| app = build(:client_application) app.url = url - assert !app.valid?, "#{url} is valid when it shouldn't be" + assert_not app.valid?, "#{url} is valid when it shouldn't be" end end @@ -31,7 +31,7 @@ class ClientApplicationTest < ActiveSupport::TestCase bad.each do |url| app = build(:client_application) app.support_url = url - assert !app.valid?, "#{url} is valid when it shouldn't be" + assert_not app.valid?, "#{url} is valid when it shouldn't be" end end @@ -48,7 +48,7 @@ class ClientApplicationTest < ActiveSupport::TestCase bad.each do |url| app = build(:client_application) app.callback_url = url - assert !app.valid?, "#{url} is valid when it shouldn't be" + assert_not app.valid?, "#{url} is valid when it shouldn't be" end end end