]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/request_token_test.rb
Bump eslint from 7.19.0 to 7.20.0
[rails.git] / test / models / request_token_test.rb
index 7bfed5a56287d551c98b373c08b8921a459f4ed5..c231371cefeb684a698b10a11640499b3c2257e2 100644 (file)
@@ -2,9 +2,9 @@ require "test_helper"
 
 class RequestTokenTest < ActiveSupport::TestCase
   def test_oob
-    assert_equal true, RequestToken.new.oob?
-    assert_equal true, RequestToken.new(:callback_url => "oob").oob?
-    assert_equal true, RequestToken.new(:callback_url => "OOB").oob?
-    assert_equal false, RequestToken.new(:callback_url => "http://test.host/").oob?
+    assert RequestToken.new.oob?
+    assert RequestToken.new(:callback_url => "oob").oob?
+    assert RequestToken.new(:callback_url => "OOB").oob?
+    assert_not RequestToken.new(:callback_url => "http://test.host/").oob?
   end
 end