]> git.openstreetmap.org Git - rails.git/blob - test/models/request_token_test.rb
Create an IssueCommentsController for managing IssueComments
[rails.git] / test / models / request_token_test.rb
1 require "test_helper"
2
3 class RequestTokenTest < ActiveSupport::TestCase
4   def test_oob
5     assert_equal true, RequestToken.new.oob?
6     assert_equal true, RequestToken.new(:callback_url => "oob").oob?
7     assert_equal true, RequestToken.new(:callback_url => "OOB").oob?
8     assert_equal false, RequestToken.new(:callback_url => "http://test.host/").oob?
9   end
10 end