diff options
author | Arthur Neves <arthurnn@gmail.com> | 2015-04-26 12:54:16 -0400 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2015-04-26 12:54:16 -0400 |
commit | d023f98497209aa35b6816474c775343f0367dd7 (patch) | |
tree | 87cf3d245da652530e7810dcdb10874b7bff8535 /railties/test/application | |
parent | ac98359c837f09caf075efd17da17bac12a62e99 (diff) | |
download | rails-d023f98497209aa35b6816474c775343f0367dd7.tar.gz rails-d023f98497209aa35b6816474c775343f0367dd7.tar.bz2 rails-d023f98497209aa35b6816474c775343f0367dd7.zip |
assets:cache:clean wont clean cache anymore
See the behaviour change on sprockets-rails
https://github.com/rails/sprockets-rails/commit/56725e5843662189c6701478f7598db306d5fb02
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/assets_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index f6b7d4c855..f1a146519b 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -464,17 +464,6 @@ module ApplicationTests assert_match "src='/sub/uri/assets/rails.png'", File.read(Dir["#{app_path}/public/assets/app-*.js"].first) end - test "assets:cache:clean should clean cache" do - ENV["RAILS_ENV"] = "production" - precompile! - - quietly do - Dir.chdir(app_path){ `bundle exec rake assets:clobber` } - end - - assert !File.exist?("#{app_path}/tmp/cache/assets") - end - private def app_with_assets_in_view |