Fix test to make sure it picks up the right token

This commit is contained in:
Tom Hughes 2013-08-20 22:46:53 +01:00
parent e71c904912
commit 9701c6210c

View file

@ -315,7 +315,7 @@ class UserControllerTest < ActionController::TestCase
:referer => '/edit?editor=id#map=1/2/3'}
assert_equal welcome_path(:editor => 'id', :zoom => 1, :lat => 2, :lon => 3),
user.tokens.first.referer
user.tokens.order("id DESC").first.referer
end
def test_user_confirm_expired_token