Sha256: 2b386ac319fbae42dae47f819ef4514f8eef81751735e643c25c826fff9b482f
Contents?: true
Size: 642 Bytes
Versions: 2
Compression:
Stored size: 642 Bytes
Contents
require 'test_helper' class CompressorTest < Test::Unit::TestCase def setup @compressor = Compressor.new end def test_javascript_compression packed = @compressor.compress_js(glob('test/fixtures/src/test*.js')) assert packed == File.read('test/fixtures/jammed/test.js') end def test_css_compression packed = @compressor.compress_css(glob('test/fixtures/src/*.css')) assert packed == File.read('test/fixtures/jammed/test.css') end def test_jst_compilation packed = @compressor.compile_jst(glob('test/fixtures/src/test*.jst')) assert packed == File.read('test/fixtures/jammed/test.jst') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jammit-core-0.1.1 | test/unit/test_compressor.rb |
jammit-core-0.1.0 | test/unit/test_compressor.rb |