Created
November 10, 2011 02:37
-
-
Save huyttq/1353941 to your computer and use it in GitHub Desktop.
Override initial state of AASM by using 'mocha' mock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TestObject.any_instance.stubs(:set_initial_state) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment