Created
January 7, 2013 02:39
-
-
Save aligo/4471875 to your computer and use it in GitHub Desktop.
speed up capybara, poltergeist & sprockets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# spec/support/capybara.rb | |
require 'capybara/poltergeist' | |
Capybara.javascript_driver = :poltergeist | |
Capybara.default_wait_time = 5 | |
Capybara.server_port = 3001 | |
Capybara.app_host = "http://localhost:3001" | |
ActionController::Base.asset_host = Capybara.app_host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#config/environments/test.rb | |
config.assets.enabled = true | |
config.assets.debug = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment