Skip to content

Instantly share code, notes, and snippets.

@zishe
Created September 18, 2012 18:02
Show Gist options
  • Save zishe/3744693 to your computer and use it in GitHub Desktop.
Save zishe/3744693 to your computer and use it in GitHub Desktop.
Error with before create
Failure/Error: @user.should_receive(:secure_token)
(#<User:0x00000005cdec90>).secure_token(any args)
expected: 1 time
received: 2 times
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment