Added tests for Credentials

Removed routes from credentials that aren't used along with controller actions
This commit is contained in:
2024-05-14 14:54:32 +01:00
parent 5885620d50
commit ae7846e46e
5 changed files with 52 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ class DomainsControllerTest < ActionDispatch::IntegrationTest
@domain = domains(:one)
end
test "not should get index because we are not logged in" do
test "not should get index because user not logged in" do
get domains_url
assert_redirected_to new_user_session_path
end