Sha256: 08f29b4c68dd14fe251f3dd586a70632acf4f273a0acbe6ca004adedd43cb5fe

Contents?: true

Size: 385 Bytes

Versions: 8

Compression:

Stored size: 385 Bytes

Contents

require 'compiler/base'
require 'assets_booster/compiler/uglify'
module AssetsBooster
  module Compiler
    describe Uglify do
      it_behaves_like "a compiler" do
        describe "compile" do
          it "should compile javascript" do
            subject.compile("var a = 'test'; alert(a);").should == 'var a="test";alert(a)'
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
assets_booster-0.0.12 spec/compiler/uglify_spec.rb
assets_booster-0.0.11 spec/compiler/uglify_spec.rb
assets_booster-0.0.10 spec/compiler/uglify_spec.rb
assets_booster-0.0.9 spec/compiler/uglify_spec.rb
assets_booster-0.0.8 spec/compiler/uglify_spec.rb
assets_booster-0.0.7 spec/compiler/uglify_spec.rb
assets_booster-0.0.6 spec/compiler/uglify_spec.rb
assets_booster-0.0.5 spec/compiler/uglify_spec.rb