lib/rspec/sleeping_king_studios/matchers/active_model/have_errors_matcher.rb
# Adds a set of message expectations for the most recently added error
# attribute.
#
# @param [Array<String, Regexp>] messages
#
# @see #with_message
Adds a set of message expectations for the most recently added error
attribute.
Adds a set of message expectations for the most recently added error attribute .
def with_messages *messages
      messages.each do |message| self.with_message(message); end
      self
    end
def with_messages * messages messages . each do | message | self . with_message ( message ) ; end self end
Adds a set of message expectations for the most recently added error
attribute.
Adds a set of message expectations for the most recently added error attribute .
messages
<not_specific>
<not_specific>
None
see
None