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
1 changed files with 1 additions and 1 deletions

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
```