lib/rimless/rspec/matchers.rb
def base_message
          expectation_mod = @expectation_type.to_s.humanize.downcase
          result = ["#{expectation_mod} #{@expected_number} messages,"]

          result << " with schema #{@schema}," if @schema
          result << " with #{@args}," if @args.any?
          result << " with data #{@data}," if @data.any?
          result << " but sent #{@matching_count}"

          result.join
        end
# The base error message with all the expectation details included.
#
# @return [String] the expectation details message
The base error message with all the expectation details included.
The base error message with all the expectation details included .
def base_message
          expectation_mod = @expectation_type.to_s.humanize.downcase
          result = ["#{expectation_mod} #{@expected_number} messages,"]
          result << " with schema #{@schema}," if @schema
          result << " with #{@args}," if @args.any?
          result << " with data #{@data}," if @data.any?
          result << " but sent #{@matching_count}"
          result.join
        end
def base_message expectation_mod = @expectation_type . to_s . humanize . downcase result = [ "#{expectation_mod} #{@expected_number} messages," ] result << " with schema #{@schema}," if @schema result << " with #{@args}," if @args . any? result << " with data #{@data}," if @data . any? result << " but sent #{@matching_count}" result . join end
The base error message with all the expectation details included.
The base error message with all the expectation details included .
the expectation details message
the expectation details message
String