spec/sprockets-less_spec.rb in sprockets-less-0.6.0 vs spec/sprockets-less_spec.rb in sprockets-less-0.6.1
- old
+ new
@@ -128,10 +128,10 @@
it 'allows global Less configuration' do
Sprockets::Less.options[:compress] = true
@assets.file 'main.css.less', "body {\n color: #00f;\n}"
asset = @env['main.css']
- asset.to_s.should == "body{color:#00f}\n"
+ asset.to_s.should == "body{color:#00f}"
Sprockets::Less.options.delete(:compress)
end
it 'imports files from the Less load path' do
vendor = @root.directory 'vendor'