Module: DynportTools::HaveAttributesMatcher
- Defined in:
- lib/dynport_tools/have_attributes.rb
Defined Under Namespace
Classes: HaveAllAttributes, HaveAttributes, HaveOneWithAttributes, ReturnValues
Instance Method Summary
collapse
Instance Method Details
#exactly_have_attributes(expected) ⇒ Object
65
66
67
|
# File 'lib/dynport_tools/have_attributes.rb', line 65
def exactly_have_attributes(expected)
have_all_attributes(expected)
end
|
#have_all_attributes(expected) ⇒ Object
69
70
71
|
# File 'lib/dynport_tools/have_attributes.rb', line 69
def have_all_attributes(expected)
HaveAllAttributes.new(expected)
end
|
#have_attributes(expected) ⇒ Object
61
62
63
|
# File 'lib/dynport_tools/have_attributes.rb', line 61
def have_attributes(expected)
HaveAttributes.new(expected)
end
|
#have_one_with_attributes(expected) ⇒ Object
73
74
75
|
# File 'lib/dynport_tools/have_attributes.rb', line 73
def have_one_with_attributes(expected)
HaveOneWithAttributes.new(expected)
end
|
#return_values(expected) ⇒ Object
57
58
59
|
# File 'lib/dynport_tools/have_attributes.rb', line 57
def return_values(expected)
ReturnValues.new(expected)
end
|