Module: RSpecApi::Matchers::Attributes

Included in:
RSpecApi::Matchers
Defined in:
lib/rspec-api/matchers/attributes/matcher.rb,
lib/rspec-api/matchers/attributes/have_attributes.rb

Defined Under Namespace

Classes: Matcher

Instance Method Summary collapse

Instance Method Details

#have_attributes(*attributes) ⇒ Object

TODO: add &block options


18
19
20
# File 'lib/rspec-api/matchers/attributes/have_attributes.rb', line 18

def have_attributes(*attributes)
  RSpecApi::Matchers::Attributes::Matcher.new *attributes
end