开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜