1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-31 19:45:45 +00:00

Fixed reset password after the Devise migration.

This commit is contained in:
2025-04-09 17:18:47 -04:00
parent 2d433b680a
commit e934e2d65e
7 changed files with 74 additions and 1 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