]> git.openstreetmap.org Git - rails.git/blob - test/models/request_token_test.rb
Bump actions/checkout from 3 to 4
[rails.git] / test / models / request_token_test.rb
1 require "test_helper"
2
3 class RequestTokenTest < ActiveSupport::TestCase
4   def test_oob
5     assert_predicate RequestToken.new, :oob?
6     assert_predicate RequestToken.new(:callback_url => "oob"), :oob?
7     assert_predicate RequestToken.new(:callback_url => "OOB"), :oob?
8     assert_not RequestToken.new(:callback_url => "http://test.host/").oob?
9   end
10 end