method
    
    allow_message_expectations_on_nil
 
  allow_message_expectations_on_nil()
  public
  
    Hide source    
    
      
  
# File lib/spec/mocks/proxy.rb, line 10 def self.allow_message_expectations_on_nil @@warn_about_expectations_on_nil = false # ensure nil.rspec_verify is called even if an expectation is not set in the example # otherwise the allowance would effect subsequent examples $rspec_mocks.add(nil) unless $rspec_mocks.nil? end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
 = protected
 = protected
  