spec/compiler/rainpress_spec.rb in assets_booster-0.0.4 vs spec/compiler/rainpress_spec.rb in assets_booster-0.0.5
- old
+ new
@@ -3,11 +3,14 @@
module AssetsBooster
module Compiler
describe Rainpress do
it_behaves_like "a compiler" do
describe "compile" do
- it "should compile the source file" do
+ it "should compile css" do
subject.compile("{ color: #ff0000; }").should == "{color:red}"
+ pending "rainpress is buggy, see https://github.com/sprsquish/rainpress/issues/1" do
+ subject.compile("a.en{background-position:0px 0px}").should == "a.en{background-position:0 0}"
+ end
end
end
end
end
end