add_message_expectation(method_name, opts={}, &block)
click to toggle source
def add_message_expectation(method_name, opts={}, &block)
warn(method_name) if warn_about_expectations?
super
end
add_negative_message_expectation(location, method_name, &implementation)
click to toggle source
def add_negative_message_expectation(location, method_name, &implementation)
warn(method_name) if warn_about_expectations?
super
end
add_stub(method_name, opts={}, &implementation)
click to toggle source
def add_stub(method_name, opts={}, &implementation)
warn(method_name) if warn_about_expectations?
super
end