attempt to prevent phantomjs timeouts

This commit is contained in:
nilsding 2015-01-25 19:33:41 +01:00
parent 83e23accfe
commit ef4b0e78f8
1 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,14 @@ require 'factory_girl_rails'
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
# this should prevent timeouts for waiting on the assets to be compiled,
# makes testing a bit longer though
config.before(:all, type: :feature) do
visit "/assets/application.css"
visit "/assets/application.js"
end
# The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content.
=begin