Skip to content

Commit

Permalink
Added fix for #1237
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnow committed Jan 25, 2016
1 parent 0805d77 commit b7b34f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/rails_helper.rb
Expand Up @@ -33,6 +33,10 @@
Capybara.javascript_driver = :poltergeist
Capybara.default_max_wait_time = 10

Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, window_size: [1280, 600])
end

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
Expand Down

0 comments on commit b7b34f5

Please sign in to comment.