Class: CallCenter::Test::MiniTest::DSL::ItShouldFlow::Expectation
- Defined in:
- lib/call_center/test/minitest/dsl.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Expectation
constructor
A new instance of Expectation.
- #setup(object) ⇒ Object
Constructor Details
#initialize(name) ⇒ Expectation
Returns a new instance of Expectation.
41 42 43 |
# File 'lib/call_center/test/minitest/dsl.rb', line 41 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
39 40 41 |
# File 'lib/call_center/test/minitest/dsl.rb', line 39 def name @name end |
Instance Method Details
#setup(object) ⇒ Object
45 46 47 |
# File 'lib/call_center/test/minitest/dsl.rb', line 45 def setup(object) raise 'Implement in subclass' end |