Skip to content

Commit

Permalink
fixed stage spec to rotate in the opposite direction of its rotation …
Browse files Browse the repository at this point in the history
…target
  • Loading branch information
shawn42 committed Aug 27, 2012
1 parent ce7107b commit 40dc1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/core/stage_spec.rb
Expand Up @@ -45,7 +45,7 @@
end

it 'registers and draws drawables by parallax and layers' do
target.expects(:rotate).with(Math::PI, 200, 150).yields
target.expects(:rotate).with(-Math::PI, 200, 150).yields
subject.register_drawable a
subject.register_drawable b
subject.register_drawable c
Expand Down

0 comments on commit 40dc1e1

Please sign in to comment.