# File lib/rspec/mocks/error_generator.rb, line 108 def raise_expectation_on_unstubbed_method(method) __raise "#{intro} expected to have received #{method}, but that " + "method has not been stubbed." end