This commit is contained in:
parent
4b099bacc4
commit
939e0c5306
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class SessionTest < ActiveSupport::TestCase
|
|||
def test_save_when_not_exists
|
||||
session = Session.new(email: "fake@example.org", password: "secret")
|
||||
|
||||
refute session.save
|
||||
assert_not session.save
|
||||
end
|
||||
|
||||
def test_save_when_password_incorrect
|
||||
|
@ -20,6 +20,6 @@ class SessionTest < ActiveSupport::TestCase
|
|||
|
||||
session = Session.new(email: user.email, password: "bad_password")
|
||||
|
||||
refute session.save
|
||||
assert_not session.save
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue