Class: CallCenter::Test::MiniTest::DSL::ItShouldFlow::Stubs
- Inherits:
-
Expects
- Object
- Expectation
- Expects
- CallCenter::Test::MiniTest::DSL::ItShouldFlow::Stubs
- Defined in:
- lib/call_center/test/minitest/dsl.rb
Instance Attribute Summary
Attributes inherited from Expectation
Instance Method Summary collapse
Methods inherited from Expects
Methods inherited from Expectation
Constructor Details
This class inherits a constructor from CallCenter::Test::MiniTest::DSL::ItShouldFlow::Expects
Instance Method Details
#setup(object) ⇒ Object
63 64 65 66 |
# File 'lib/call_center/test/minitest/dsl.rb', line 63 def setup(object) mocka = object.stubs(name) @expectation_block.call(mocka) if @expectation_block end |