Class: Lookout::Difference::Lookout::Reception
- Defined in:
- lib/lookout-3.0/difference/lookout/reception.rb
Overview
Difference reports between Receptions. Differences are seen when the number of times a method call is received isn’t within the range of expected number of receptions.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
-
#diff ⇒ Enumerable<::String>
An Enumerable containing the difference report message generated from the method mock.
-
#initialize(actual, expected) ⇒ Reception
constructor
Initializes a difference report between the ACTUAL number of receptions against the range of EXPECTED number of receptions.
Methods inherited from Object
Constructor Details
#initialize(actual, expected) ⇒ Reception
Initializes a difference report between the ACTUAL number of receptions against the range of EXPECTED number of receptions.
11 12 13 14 |
# File 'lib/lookout-3.0/difference/lookout/reception.rb', line 11 def initialize(actual, expected) super actual, expected.range @reception = expected end |