added spec for base class

This commit is contained in:
Nico Hagenburger 2010-10-15 00:49:23 +02:00 committed by Chris Eppstein
parent 6d0315ad77
commit acd720b41f

View File

@ -86,7 +86,17 @@ describe Compass::Sprites do
width: 20px;
}
CSS
end
it "should be possible to change the base class" do
css = render <<-SCSS
$squares-sprite-base-class: ".circles";
@import "squares/*.png";
SCSS
css.should == <<-CSS
.circles {
background: url('/squares.png') no-repeat; }
CSS
end
end