mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-27 03:06:11 +01:00
Fix some failing tests
This commit is contained in:
parent
b3a77270da
commit
828201dfe0
2 changed files with 3 additions and 5 deletions
|
|
@ -90,7 +90,7 @@ class LoginControllerTest < ActionController::TestCase
|
|||
def test_should_delete_token_on_logout
|
||||
login_as :other_user
|
||||
get :logout
|
||||
assert_equal @response.cookies["auth_token"], []
|
||||
assert_nil @response.cookies["auth_token"]
|
||||
end
|
||||
|
||||
def test_should_login_with_cookie
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue