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