Class: CallCenter::Test::MiniTest::DSL::ItShouldFlow::Expectation

Inherits:
Object
  • Object
show all
Defined in:
lib/call_center/test/minitest/dsl.rb

Direct Known Subclasses

Condition, Expects, IfCondition, UnlessCondition

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Expectation


41
42
43
# File 'lib/call_center/test/minitest/dsl.rb', line 41

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (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