Added tests for Credentials
Removed routes from credentials that aren't used along with controller actions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user