Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
youpy committed May 24, 2010
1 parent c9f168b commit 646abe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/pimento_spec.rb
Expand Up @@ -14,6 +14,8 @@
end

it 'should point' do
Pimento::Component.should_receive(:for).with(:dot).and_return(Pimento::RoundButton)

@canvas.point(15, 25)
@canvas.to_xml.to_s.should eql(open(fixture('1dot.xib')).read)
end
Expand Down

0 comments on commit 646abe3

Please sign in to comment.