Created
August 1, 2013 14:08
-
-
Save joshuawscott/6131699 to your computer and use it in GitHub Desktop.
checking for rspec typo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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