Skip to content

Instantly share code, notes, and snippets.

@manusajith
Forked from joshuawscott/spec_helper.rb
Created August 1, 2013 14:27
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 manusajith/6131885 to your computer and use it in GitHub Desktop.
Save manusajith/6131885 to your computer and use it in GitHub Desktop.
module RSpec
module Mocks
module AnyInstance
class Recorder
def should_recieve(*args)
raise NoMethodError.new "should_recieve: Did you mean 'should_receive' ?"
end
def should_not_recieve(*args)
raise NoMethodError.new "should_not_receive: Did you mean 'should_not_receive' ?"
end
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment