Sha256: 48d0f197bac6e2aae04fed65b2930e676fd8593fe44b643338c36151d828ebfb
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
require File.join(File.dirname(__FILE__), "spec_helper") base = ::Middleman::Base base.set :root, File.join(File.dirname(__FILE__), "fixtures", "sample") describe "Cache Buster Feature" do it "should not append query string if off" do base.disable :cache_buster base.new base.asset_url("stylesheets/static.css").should_not include("?") end it "should append query string if on" do base.enable :cache_buster base.new base.asset_url("stylesheets/static.css").should include("?") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
middleman-0.9.20 | spec/cache_buster_spec.rb |
middleman-0.9.18 | spec/cache_buster_spec.rb |