Sha256: d7726a1bb45609a03129d96ce14e473520555b6710f4282ce61f28c6349cd2a9
Contents?: true
Size: 316 Bytes
Versions: 6
Compression:
Stored size: 316 Bytes
Contents
require "spec_helper" describe Nanoc::Toolbox::Filters::JsMinify do before(:each) do @filter = described_class.new end describe ".run" do it "minifies javascript" do content = "alert('Hello World!'); /*Print Hello world*/\n" @filter.run(content).should_not eq content end end end
Version data entries
6 entries across 6 versions & 1 rubygems