Sha256: 136332c6c35699c8142185c44cfc43276db77de8bf7899420054b49368def5ca
Contents?: true
Size: 369 Bytes
Versions: 6
Compression:
Stored size: 369 Bytes
Contents
require "spec_helper" describe Nanoc::Toolbox::Filters::AddSections do before(:each) do @filter = described_class.new end describe ".run" do it "minifies javascript" do content = "<h1>A Title<h1/><h2>A Second Title<h2/>" result = @filter.run(content) result.should_not eq content result.should =~ /"section"/ end end end
Version data entries
6 entries across 6 versions & 1 rubygems