1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Fix incorrect RackTest driver example, closes #1147

The `:browser` option is supported by Selenium, but not by RackTest, seems like this was a copy-paste error.
This commit is contained in:
Jonas Nicklas 2013-08-26 14:38:04 +02:00
parent 1273f519d5
commit 4f678b2bbd

View file

@ -271,7 +271,7 @@ RackTest can be configured with a set of headers like this:
```ruby
Capybara.register_driver :rack_test do |app|
Capybara::RackTest::Driver.new(app, :browser => :chrome)
Capybara::RackTest::Driver.new(app, :headers => { 'User-Agent' => 'Capybara' })
end
```