File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,21 +17,6 @@ def test_loading_a_nonexistent_file
1717 end
1818 end
1919
20- def test_loading_a_nonexistent_java
21- Jammit . instance_variable_set ( '@checked_java_version' , false )
22- Jammit . load_configuration ( 'test/config/assets-no-java.yml' )
23- assert !Jammit . compress_assets
24- @compressor = Compressor . new
25- # Should not compress js.
26- packed = @compressor . compress_js ( glob ( 'test/fixtures/src/*.js' ) )
27- assert packed == File . read ( 'test/fixtures/jammed/js_test-uncompressed.js' )
28- # Nothing should change with jst.
29- packed = @compressor . compile_jst ( glob ( 'test/fixtures/src/*.jst' ) )
30- assert packed == File . read ( 'test/fixtures/jammed/jst_test.js' )
31- packed = @compressor . compress_css ( glob ( 'test/fixtures/src/*.css' ) )
32- assert packed == File . open ( 'test/fixtures/jammed/css_test-uncompressed.css' , 'rb' ) { |f | f . read }
33- end
34-
3520 def test_disabled_compression
3621 Jammit . load_configuration ( 'test/config/assets-compression-disabled.yml' )
3722 assert !Jammit . compress_assets
You can’t perform that action at this time.
0 commit comments