Class: Graphiti::SpecHelpers::Matchers::HasOneMatcher

Inherits:
RelationMatcher show all
Defined in:
lib/graphiti/spec_helpers/matchers.rb

Constant Summary collapse

EXPECTED_ACTION =
"have one"

Constants inherited from RelationMatcher

RelationMatcher::GRAPHITI_CONFIG_KEY, RelationMatcher::GRAPHITI_OPTS

Constants inherited from BaseMatcher

BaseMatcher::GRAPHITI_CONFIG_KEY, BaseMatcher::GRAPHITI_OPTS

Method Summary

Methods inherited from RelationMatcher

#initialize

Methods inherited from BaseMatcher

#description, #does_not_match?, #failure_message, #failure_message_when_negated, #matches?, #opt_failure_message, #with_options

Constructor Details

This class inherits a constructor from Graphiti::SpecHelpers::Matchers::RelationMatcher