Skip to content

Instantly share code, notes, and snippets.

@huyttq
Created November 10, 2011 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huyttq/1353941 to your computer and use it in GitHub Desktop.
Save huyttq/1353941 to your computer and use it in GitHub Desktop.
Override initial state of AASM by using 'mocha' mock
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