Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added spec for base class
  • Loading branch information
hagenburger authored and chriseppstein committed Nov 28, 2010
1 parent 6d0315a commit acd720b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion spec/sprites_spec.rb
Expand Up @@ -86,7 +86,17 @@ def render(scss)
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

0 comments on commit acd720b

Please sign in to comment.