Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using Ruby 1.8 hash syntax in spec helper.

  • Loading branch information...
commit b5a5c71c54370eef1f703e516ab600f2611aab6a 1 parent a444f0d
@tvdeyen tvdeyen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/spec_helper.rb
View
2  spec/spec_helper.rb
@@ -35,7 +35,7 @@ def configure
Capybara.default_wait_time = 5
Capybara.register_driver(:rack_test_translated_header) do |app|
- Capybara::RackTest::Driver.new(app, headers: { 'HTTP_ACCEPT_LANGUAGE' => 'de' })
+ Capybara::RackTest::Driver.new(app, :headers => { 'HTTP_ACCEPT_LANGUAGE' => 'de' })
end
# Load support files
Please sign in to comment.
Something went wrong with that request. Please try again.