class Mocha::Configuration

def stubbing_non_existent_method=(value)

Other tags:
    Example: Preventing stubbing of a non-existent method -

Parameters:
  • value (Symbol) -- one of +:allow+, +:warn+, +:prevent+.
def stubbing_non_existent_method=(value)
  @options[:stubbing_non_existent_method] = value
end