added test for left and top

This commit is contained in:
Scott Davis 2011-02-24 00:08:35 -05:00
parent 153582fe68
commit 7277568303
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
compass (0.11.beta.2.995a20c) compass (0.11.beta.2.153582f)
chunky_png (~> 0.12.0) chunky_png (~> 0.12.0)
sass (>= 3.1.0.alpha.218) sass (>= 3.1.0.alpha.218)

View File

@ -22,6 +22,8 @@ describe Compass::SassExtensions::Sprites::Image do
its(:width) { should == 10 } its(:width) { should == 10 }
its(:height) { should == 10 } its(:height) { should == 10 }
its(:digest) { should == digest } its(:digest) { should == digest }
its(:top) { should == 0 }
its(:left) { should == 0 }
end end
let(:options) { let(:options) {