From 73a24d4339b9c4c114a67a9272a3c96f80c71ee0 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Thu, 9 Dec 2021 11:07:44 +0000 Subject: [PATCH] User spec --- spec/features/user_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/user_spec.rb b/spec/features/user_spec.rb index f14cd43fd..7e4e957f5 100644 --- a/spec/features/user_spec.rb +++ b/spec/features/user_spec.rb @@ -146,8 +146,8 @@ RSpec.describe "User Features" do visit("/users/#{user.id}") find('[data-qa="change-password"]').click expect(page).to have_content("Change your password") - fill_in("user[current_password]", with: "pAssword1") fill_in("user[password]", with: "Password123!") + fill_in("user[password_confirmation]", with: "Password123!") click_button("Update") expect(page).to have_current_path("/users/#{user.id}") end