Permalink
Browse files

Using Ruby 1.8 hash syntax in spec helper.

  • Loading branch information...
1 parent a444f0d commit b5a5c71c54370eef1f703e516ab600f2611aab6a Thomas von Deyen committed Aug 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
@@ -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

0 comments on commit b5a5c71

Please sign in to comment.