Updated test
This commit is contained in:
@@ -30,8 +30,9 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_redirected_to sign_in_url(email_hint: @user.email)
|
||||
assert_equal "That email or password is incorrect", flash[:alert]
|
||||
|
||||
# get root_url
|
||||
get root_url
|
||||
# assert_redirected_to sign_in_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should sign out" do
|
||||
|
||||
Reference in New Issue
Block a user