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