Module: FriendlyAttributes::Test::Matchers
- Defined in:
- lib/friendly_attributes/test/matchers.rb
Defined Under Namespace
Classes: HaveFriendlyAttribute
Instance Method Summary collapse
-
#have_friendly_attributes(*args) ⇒ HaveFriendlyAttribute
(also: #have_friendly_attribute)
RSpec matcher for checking Friendly attributes.
Instance Method Details
#have_friendly_attributes(*args) ⇒ HaveFriendlyAttribute Also known as: have_friendly_attribute
RSpec matcher for checking Friendly attributes. Passes if the model has the specified FriendlyAttributes associated with it.
42 43 44 |
# File 'lib/friendly_attributes/test/matchers.rb', line 42 def have_friendly_attributes(*args) HaveFriendlyAttribute.new(self, *args) end |