]> git.openstreetmap.org Git - rails.git/blob - test/models/request_token_test.rb
Make setLatLng a private function
[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_predicate RequestToken.new(:callback_url => "http://test.host/"), :oob?
9   end
10 end