Add commented-out code for debugging specs that are otherwise thwarted by poltergeist's timeout

This commit is contained in:
Rohan Mitchell
2013-09-16 14:13:07 +10:00
parent f0381f7579
commit b032bc0420

View File

@@ -32,6 +32,12 @@ ActiveRecord::Fixtures.create_fixtures(fixtures_dir, ['spree/states', 'spree/cou
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
# For debugging, extend poltergeist's timeout
# Capybara.register_driver :poltergeist do |app|
# Capybara::Poltergeist::Driver.new(app, timeout: 5.minutes)
# end
require "paperclip/matchers"
RSpec.configure do |config|