From 939e0c5306b83cfd9e595d6ddfee5efb93027c6c Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 1 Aug 2024 21:39:13 -0400 Subject: [PATCH] Linting --- test/models/session_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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