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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user