Skip to content

Commit

Permalink
Merge pull request #18228 from martinpovolny/asset_compile_in_test
Browse files Browse the repository at this point in the history
Disable asset compile in ruby tests.
  • Loading branch information
Fryguy authored Nov 26, 2018
2 parents d4560c6 + 472881a commit 3ef8fd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
env.cache = ActiveSupport::Cache.lookup_store(:memory_store)
end

config.assets.compile = ENV['TEST_SUITE'] == 'spec:javascript'

# Log error messages when you accidentally call methods on nil
config.whiny_nils = true

Expand Down

0 comments on commit 3ef8fd5

Please sign in to comment.