Sha256: 5f273d33ece39004776ca87410e7416f87563adbec02580b6d707e24f7e176bd
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') describe Rack::Bundle::CSSBundle do before do @bundle = Rack::Bundle::CSSBundle.new $reset, $screen end it 'makes the contents of one or more stylesheets accessible via #contents' do @bundle.contents.should == [$reset, $screen].join("\n") end it 'creates a MD5 hash out of the contents of the bundle' do @bundle.hash.should == MD5.new(@bundle.contents) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-bundle-0.1.0 | spec/bundles/css_bundle_spec.rb |