Class: RSpecExtensionsCollection::Matchers::SearchEmbeddedMatcher
- Inherits:
-
SearchMatcher
- Object
- SearchMatcher
- RSpecExtensionsCollection::Matchers::SearchEmbeddedMatcher
- Defined in:
- lib/rspec_extensions_collection/matchers/search_embedded_matcher.rb
Constant Summary
Constants inherited from SearchMatcher
RSpecExtensionsCollection::Matchers::SearchMatcher::FIELD_CONTENT_WITHOUT_KEYWORD, RSpecExtensionsCollection::Matchers::SearchMatcher::FIELD_CONTENT_WITH_KEYWORD, RSpecExtensionsCollection::Matchers::SearchMatcher::KEYWORD, RSpecExtensionsCollection::Matchers::SearchMatcher::LOCALES
Instance Method Summary collapse
-
#initialize(association_name, *args) ⇒ SearchEmbeddedMatcher
constructor
A new instance of SearchEmbeddedMatcher.
Methods inherited from SearchMatcher
#failure_message_for_should, #matches?
Methods included from MongoidModelHelpers
Constructor Details
#initialize(association_name, *args) ⇒ SearchEmbeddedMatcher
26 27 28 29 |
# File 'lib/rspec_extensions_collection/matchers/search_embedded_matcher.rb', line 26 def initialize(association_name, *args) @association_name = association_name super(*args) end |