sign_in -> sign_in_as

This commit is contained in:
Jose Farias
2024-10-09 12:48:21 -04:00
parent e2cd077662
commit 6b8b989058
4 changed files with 4 additions and 4 deletions
@@ -2,7 +2,7 @@ require "test_helper"
class Bubbles::PopsControllerTest < ActionDispatch::IntegrationTest
setup do
sign_in :kevin
sign_in_as :kevin
end
test "create" do
+1 -1
View File
@@ -2,7 +2,7 @@ require "test_helper"
class BucketsControllerTest < ActionDispatch::IntegrationTest
setup do
sign_in :kevin
sign_in_as :kevin
end
test "edit" do
+1 -1
View File
@@ -30,7 +30,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
end
test "destroy" do
sign_in :kevin
sign_in_as :kevin
delete session_url
assert_redirected_to new_session_url
assert_not cookies[:session_token].present?