1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Fixed reset password after the Devise migration.

This commit is contained in:
2025-04-11 07:59:55 -04:00
parent 2d433b680a
commit 4828d9b876
8 changed files with 75 additions and 2 deletions

View File

@@ -12,6 +12,13 @@ class SessionsControllerTest < ActionController::TestCase
get :new
assert_response :success
assert_select 'h1', 'Log in'
assert_select "a[href=?]", new_password_reset_path, text: "Forgot password?"
end
test "login page should have forgot password link" do
get :new
assert_response :success
assert_select "a[href=?]", new_password_reset_path, text: "Forgot password?"
end
test "should create session with valid credentials" do