X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..4cf3c3b6ed7cc6ab0728b320afde5854489629fb:/test/models/request_token_test.rb diff --git a/test/models/request_token_test.rb b/test/models/request_token_test.rb index 7bfed5a56..c231371ce 100644 --- a/test/models/request_token_test.rb +++ b/test/models/request_token_test.rb @@ -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