added spec for base class
This commit is contained in:
parent
6d0315ad77
commit
acd720b41f
@ -86,7 +86,17 @@ describe Compass::Sprites do
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
CSS
|
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
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user