Skip to content

Instantly share code, notes, and snippets.

@serg-kovalev
Last active November 28, 2017 18:59
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 serg-kovalev/1d73fd67facc5f2585d5773bbb72f8e6 to your computer and use it in GitHub Desktop.
Save serg-kovalev/1d73fd67facc5f2585d5773bbb72f8e6 to your computer and use it in GitHub Desktop.
Reset Mock/Stub in RSpec
RSpec::Mocks.space.proxy_for(SomeClass).reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment