Class: Synthesis::MethodInvocationWatcher
- Defined in:
- lib/synthesis/method_invocation_watcher.rb
Class Method Summary collapse
Class Method Details
.invoked(receiver, method, args = [], return_values = []) ⇒ Object
3 4 5 6 |
# File 'lib/synthesis/method_invocation_watcher.rb', line 3 def self.invoked(receiver, method, args = [], return_values = []) matcher = Expectation.new(receiver, method, nil, args, return_values) ExpectationRecord[matcher].invoked! # path_from_spec end |