Class: Mocha::StubbingError

Inherits:
ErrorWithFilteredBacktrace
  • Object
show all
Defined in:
lib/mocha/stubbing_error.rb

Overview

Exception raised when stubbing a particular method is not allowed.

See Also:

  • Configuration.prevent