diff options
author | José Valim <jose.valim@gmail.com> | 2011-09-24 02:15:18 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-09-24 03:17:37 +0200 |
commit | 6795a9b30905a6e0b28a8d5458b452cb385d21b2 (patch) | |
tree | 7e56aceb585daaa66cb3fc26024816289970c40c /railties | |
parent | eb367afeed2905d1036f46940aa6c91323f7faab (diff) | |
download | rails-6795a9b30905a6e0b28a8d5458b452cb385d21b2.tar.gz rails-6795a9b30905a6e0b28a8d5458b452cb385d21b2.tar.bz2 rails-6795a9b30905a6e0b28a8d5458b452cb385d21b2.zip |
Remove the ENV flag, yagni.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/assets_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index fb570d8f47..85320ccba5 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -106,16 +106,6 @@ module ApplicationTests assert !File.exists?("#{app_path}/public/assets/something.min.css") end - test "precompile sets flag notifying rails its precompiling" do - add_to_config = <<-RUBY - initializer :check_assets_precompile, :group => :assets do - raise "ENV RAILS_ASSETS_PRECOMPILE not set" unless ENV["RAILS_ASSETS_PRECOMPILE"] - end - RUBY - precompile! - assert $?.success? - end - test "asset pipeline should use a Sprockets::Index when config.assets.digest is true" do add_to_config "config.assets.digest = true" add_to_config "config.action_controller.perform_caching = false" |