Skip to content

Commit

Permalink
test(shape): Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Dec 16, 2015
1 parent 18dbcfa commit 2b06f38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit/Rectangle.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe('Shape::Rectangle', () => {

mock.expects('background').never();
mock.expects('foreground').never();
mock.expects('moveTo').exactly(7).returns(cursor);
mock.expects('write').exactly(6).returns(cursor);
mock.expects('moveTo').exactly(8).returns(cursor);
mock.expects('write').exactly(7).returns(cursor);

rectangle.render(cursor);

Expand All @@ -34,8 +34,8 @@ describe('Shape::Rectangle', () => {

mock.expects('background').once().withArgs(11);
mock.expects('foreground').once().withArgs(0);
mock.expects('moveTo').exactly(13).returns(cursor);
mock.expects('write').exactly(12).returns(cursor);
mock.expects('moveTo').exactly(14).returns(cursor);
mock.expects('write').exactly(13).returns(cursor);

rectangle.render(cursor);

Expand Down

0 comments on commit 2b06f38

Please sign in to comment.