Problem with guard-test compiling asset cache files
Running tests using guard-test compiles asset cache files. This does not occur when I run tests normally using rake. My test.rb environment specifies config.action_controller.perform_cachin开发者_运维百科g = false. I am overriding host and using sub-domains if that makes any difference.
Functional: @request.host = "sub.domain.devnet"
Integration: host! "sub.domain.devnet" Capybara.default_host = "sub.domain.devnet"
All tests are green.
do you have ENV["RAILS_ENV"] ||= 'test'
in your test/test_helper.rb
file?
Maybe the normal rake task automatically set it?
精彩评论