Class: Capybara::Session
- Inherits:
-
Object
- Object
- Capybara::Session
- Defined in:
- lib/intransient_capybara/patches.rb
Instance Method Summary collapse
Instance Method Details
#raise_server_error! ⇒ Object
56 57 58 59 60 61 62 |
# File 'lib/intransient_capybara/patches.rb', line 56 def raise_server_error! if Capybara.raise_server_errors and @server and @server.error raise @server.error end ensure @server.reset_error! if @server end |