diff --git a/spec/features/user_spec.rb b/spec/features/user_spec.rb index 48adb0f6c..ba8095979 100644 --- a/spec/features/user_spec.rb +++ b/spec/features/user_spec.rb @@ -61,7 +61,7 @@ RSpec.describe "User Features" do context "Your Account " do before(:each) do visit("/case_logs") - fill_in("user_email", with: "test@example.com") + fill_in("user_email", with: user.email) fill_in("user_password", with: "pAssword1") click_button("Sign in") end