Skip to content

Instantly share code, notes, and snippets.

@YumaInaura
Last active November 19, 2015 08:02
Show Gist options
  • Select an option

  • Save YumaInaura/956d583a321e98e1d1f6 to your computer and use it in GitHub Desktop.

Select an option

Save YumaInaura/956d583a321e98e1d1f6 to your computer and use it in GitHub Desktop.
Rspec: mock と double の違い ref: http://qiita.com/Yinaura/items/4aa239c95fca7da6d6b0
- mock(name: 'Jack')
+ double(name: 'Jack')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment