Fix rspec as is
All checks were successful
CI / scan_ruby (push) Successful in 18s
CI / scan_js (push) Successful in 15s
CI / lint (push) Successful in 15s
CI / test (push) Successful in 36s

#18
This commit is contained in:
sto
2025-12-03 15:42:45 +01:00
parent 3a6ee2ea98
commit cd41d83429
3 changed files with 6 additions and 28 deletions

View File

@@ -19,7 +19,7 @@ RSpec.feature "Login", type: :feature do
fill_in "Password", with: user.password
click_button "Sign in"
expect(page).to have_content(I18n.t("sessions.new.title"))
expect(page).to have_content("Puzzle scoreboard")
end
it "should fail to log in the user with an incorrect password" do
@@ -28,7 +28,7 @@ RSpec.feature "Login", type: :feature do
fill_in "Password", with: Faker::Internet.unique.password
click_button "Sign in"
expect(page).to have_content(I18n.t("sessions.new.title"))
expect(page).to have_content("Puzzle scoreboard")
end
end
end