Sha256: abdb251a7253ff152dcdc72aaed5a4e1c33676be57a01c9f157ca8e47bcd5a18

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

require_relative 'helpers'

module Mongoid
  module Matchers
    class Matcher
      include Helpers

      def failure_message
        "Expected #{inspect} to #{description}".squeeze ' '
      end

      def negative_failure_message
        "Expected not to #{description}".squeeze ' '
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongoid-minitest-0.1.5 lib/matchers/matcher.rb
mongoid-minitest-0.1.4 lib/matchers/matcher.rb
mongoid-minitest-0.1.3 lib/matchers/matcher.rb
mongoid-minitest-0.1.3.pre lib/matchers/matcher.rb
mongoid-minitest-0.1.2 lib/matchers/matcher.rb