aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2012-03-12 14:26:01 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2012-03-13 18:00:32 -0500
commit272d3d72e868d06a89cc7097759a606f84a5443e (patch)
tree3dbdda9124e4908276d5ad12deb918eb93542312
parentb1a36a70c009f158057294c0610413c3ff4fd86c (diff)
downloadrails-272d3d72e868d06a89cc7097759a606f84a5443e.tar.gz
rails-272d3d72e868d06a89cc7097759a606f84a5443e.tar.bz2
rails-272d3d72e868d06a89cc7097759a606f84a5443e.zip
Remove remaining sprockets tests
-rw-r--r--actionpack/test/template/compressors_test.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/actionpack/test/template/compressors_test.rb b/actionpack/test/template/compressors_test.rb
deleted file mode 100644
index a273f15bd7..0000000000
--- a/actionpack/test/template/compressors_test.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-require 'abstract_unit'
-require 'sprockets/compressors'
-
-class CompressorsTest < ActiveSupport::TestCase
- def test_register_css_compressor
- Sprockets::Compressors.register_css_compressor(:null, Sprockets::NullCompressor)
- compressor = Sprockets::Compressors.registered_css_compressor(:null)
- assert_kind_of Sprockets::NullCompressor, compressor
- end
-
- def test_register_js_compressor
- Sprockets::Compressors.register_js_compressor(:uglifier, 'Uglifier', :require => 'uglifier')
- compressor = Sprockets::Compressors.registered_js_compressor(:uglifier)
- assert_kind_of Uglifier, compressor
- end
-
- def test_register_default_css_compressor
- Sprockets::Compressors.register_css_compressor(:null, Sprockets::NullCompressor, :default => true)
- compressor = Sprockets::Compressors.registered_css_compressor(:default)
- assert_kind_of Sprockets::NullCompressor, compressor
- end
-
- def test_register_default_js_compressor
- Sprockets::Compressors.register_js_compressor(:null, Sprockets::NullCompressor, :default => true)
- compressor = Sprockets::Compressors.registered_js_compressor(:default)
- assert_kind_of Sprockets::NullCompressor, compressor
- end
-end