class Mocha::Configuration

def stubbing_non_public_method=(value)

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

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