Fix test to make sure it picks up the right token
This commit is contained in:
parent
e71c904912
commit
9701c6210c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue