diff --git a/test/models/session_test.rb b/test/models/session_test.rb index 5494b76..e20618a 100644 --- a/test/models/session_test.rb +++ b/test/models/session_test.rb @@ -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