Using spork with watchr and all that jazz... though still not feeling like the tests are "blazingly fast" (sigh)
This commit is contained in:
@@ -50,5 +50,11 @@ module Gerbil
|
||||
|
||||
# Version of your assets, change this if you want to expire all your assets
|
||||
config.assets.version = '1.0'
|
||||
|
||||
if Rails.env.test?
|
||||
initializer :after => :initialize_dependency_mechanism do
|
||||
ActiveSupport::Dependencies.mechanism = :load
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@@ -5,7 +5,7 @@ Gerbil::Application.configure do
|
||||
# test suite. You never need to work with it otherwise. Remember that
|
||||
# your test database is "scratch space" for the test suite and is wiped
|
||||
# and recreated between test runs. Don't rely on the data there!
|
||||
config.cache_classes = true
|
||||
config.cache_classes = false
|
||||
|
||||
# Configure static asset server for tests with Cache-Control for performance
|
||||
config.serve_static_assets = true
|
||||
|
Reference in New Issue
Block a user