class ActionDispatch::IntegrationTest
Public Instance Methods
assert_response(type)
click to toggle source
# File lib/capybara-rails/action_dispatch_integration.rb, line 22 def assert_response(type) result = page.status_code == Rack::Utils::SYMBOL_TO_STATUS_CODE[type] assert result, ("Expected response to be a %s, but was %s" % [type, page.status_code]) end
saop()
click to toggle source
# File lib/capybara-rails/action_dispatch_integration.rb, line 18 def saop save_and_open_page end