Method: Spec::Mocks::ExampleMethods#allow_message_expectations_on_nil
- Defined in:
- lib/spec/mocks/example_methods.rb
#allow_message_expectations_on_nil ⇒ Object
Disables warning messages about expectations being set on nil.
By default warning messages are issued when expectations are set on nil. This is to prevent false-positives and to catch potential bugs early on.
63 64 65 |
# File 'lib/spec/mocks/example_methods.rb', line 63 def Proxy. end |