attempt to prevent phantomjs timeouts
This commit is contained in:
parent
83e23accfe
commit
ef4b0e78f8
|
@ -26,6 +26,14 @@ require 'factory_girl_rails'
|
||||||
#
|
#
|
||||||
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
||||||
RSpec.configure do |config|
|
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
|
# The settings below are suggested to provide a good initial experience
|
||||||
# with RSpec, but feel free to customize to your heart's content.
|
# with RSpec, but feel free to customize to your heart's content.
|
||||||
=begin
|
=begin
|
||||||
|
|
Loading…
Reference in New Issue