Fix a leftover x,y stroke on circles

Fixes #35
This commit is contained in:
Andy Meneely
2015-02-13 12:54:19 -05:00
parent 223d7dcd06
commit d2543473c7
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ describe Squib::Card do
context 'circle' do
it 'make all the expected calls on a smoke test' do
expect(@context).to receive(:save).once
expect(@context).to receive(:move_to).with(37, 38)
expect(@context).to receive(:circle).with(37, 38, 100).twice
expect_stroke('#fff', '#f00', 2.0)
expect(@context).to receive(:restore).once