Linting
All checks were successful
Ruby CI / test (pull_request) Successful in 22s

This commit is contained in:
Andrew Tomaka 2024-08-01 21:39:13 -04:00
parent 4b099bacc4
commit 939e0c5306
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -12,7 +12,7 @@ class SessionTest < ActiveSupport::TestCase
def test_save_when_not_exists def test_save_when_not_exists
session = Session.new(email: "fake@example.org", password: "secret") session = Session.new(email: "fake@example.org", password: "secret")
refute session.save assert_not session.save
end end
def test_save_when_password_incorrect def test_save_when_password_incorrect
@ -20,6 +20,6 @@ class SessionTest < ActiveSupport::TestCase
session = Session.new(email: user.email, password: "bad_password") session = Session.new(email: user.email, password: "bad_password")
refute session.save assert_not session.save
end end
end end