Class: HaveAttributesMatcher::HaveAllAttributes

Inherits:
HaveAttributes show all
Defined in:
lib/have_attributes.rb

Instance Method Summary collapse

Methods inherited from HaveAttributes

#differ, #failure_message, #initialize

Constructor Details

This class inherits a constructor from HaveAttributesMatcher::HaveAttributes

Instance Method Details

#matches?(record) ⇒ Boolean

Returns:

  • (Boolean)


35
36
37
38
# File 'lib/have_attributes.rb', line 35

def matches?(record)
  differ.diff_all = true
  super(record)
end