Skip to content

Commit

Permalink
fix test because custom rack attack throttle page does not show
Browse files Browse the repository at this point in the history
  • Loading branch information
moustachu committed Nov 9, 2023
1 parent 987414c commit 00d4952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/confirmation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def code_for(str)
end

it "throttles after 5 attempts per minute" do
expect(page).to have_content("Your connection has been slowed because server received too many requests.")
expect(page).to have_content("Retry later")
end
end
end

0 comments on commit 00d4952

Please sign in to comment.