Class: Mocha::Expectation
- Inherits:
-
Object
- Object
- Mocha::Expectation
- Defined in:
- lib/baconmocha.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Expectation
constructor
A new instance of Expectation.
- #initialize_without_bacon ⇒ Object
Constructor Details
#initialize(*args) ⇒ Expectation
Returns a new instance of Expectation.
6 7 8 9 |
# File 'lib/baconmocha.rb', line 6 def initialize(*args) Bacon::Counter[:requirements] += 1 initialize_without_bacon(*args) end |
Instance Method Details
#initialize_without_bacon ⇒ Object
5 |
# File 'lib/baconmocha.rb', line 5 alias :initialize_without_bacon :initialize |