Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Prevents timeouts on Travis during asset generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mezis committed May 31, 2013
1 parent 90ee9d6 commit 2c21a0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions features/support/capybara.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Enable use of poltergeist / phantomjs
require 'capybara/poltergeist'

Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, timeout:120)
end

Capybara.javascript_driver = :poltergeist

def wait_for_page_load
Expand Down

0 comments on commit 2c21a0d

Please sign in to comment.