You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We generally have Capybara.raise_server_errors set to true, but some of our rspec examples need to disable Capybara.raise_server_errors. To this end, we use an around block:
If `Capybara.raise_server_errors` is temporarily disabled for a spec,
reset each session's errors to prevent `reset_sessions_after_rescue!`
from raising an error after `raise_server_errors` has been reset.
FixesConradIrwin#127.
We generally have
Capybara.raise_server_errors
set to true, but some of our rspec examples need to disableCapybara.raise_server_errors
. To this end, we use anaround
block:With
pry-rescue
enabled, Capybara checksraise_server_errors
too late, after the value has already been reset toold_value
.I've fixed this by updating the monkey patch to account for this scenario. Will post PR shortly.
The text was updated successfully, but these errors were encountered: