Class: Graphiti::SpecHelpers::Matchers::ResourceDSLMatcher
- Inherits:
-
BaseMatcher
- Object
- BaseMatcher
- Graphiti::SpecHelpers::Matchers::ResourceDSLMatcher
- Defined in:
- lib/graphiti/spec_helpers/matchers.rb
Direct Known Subclasses
Constant Summary
Constants inherited from BaseMatcher
BaseMatcher::EXPECTED_ACTION, BaseMatcher::GRAPHITI_CONFIG_KEY, BaseMatcher::GRAPHITI_OPTS
Instance Method Summary collapse
-
#initialize(target, type) ⇒ ResourceDSLMatcher
constructor
A new instance of ResourceDSLMatcher.
Methods inherited from BaseMatcher
#description, #does_not_match?, #failure_message, #failure_message_when_negated, #matches?, #opt_failure_message, #with_options
Constructor Details
#initialize(target, type) ⇒ ResourceDSLMatcher
Returns a new instance of ResourceDSLMatcher.
106 107 108 109 110 111 |
# File 'lib/graphiti/spec_helpers/matchers.rb', line 106 def initialize(target, type) @target = target @type = type @opts = {} @opt_failures = [] end |