Permalink
Browse files

fixed stage spec to rotate in the opposite direction of its rotation …

…target
  • Loading branch information...
1 parent ce7107b commit 40dc1e126fa2227d7821ad659cbd76317f2b49b0 @shawn42 committed Aug 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/core/stage_spec.rb
View
@@ -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

0 comments on commit 40dc1e1

Please sign in to comment.