Class: RSpec::Mocks::CallbackInvocationStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/verifying_proxy.rb

Instance Method Summary collapse

Instance Method Details

#call(doubled_module) ⇒ Object



8
9
10
11
12
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/verifying_proxy.rb', line 8

def call(doubled_module)
  RSpec::Mocks.configuration.verifying_double_callbacks.each do |block|
    block.call doubled_module
  end
end