class Capybara::RackTest::Driver
def initialize(app, **options)
def initialize(app, **options) raise ArgumentError, "rack-test requires a rack application, but none was given" unless app @session = nil @app = app @options = DEFAULT_OPTIONS.merge(options) end