Sha256: f1ad2c33a01bfa21fe17054d93df9edc33bc737d0df144373b94ee70f1cb6d4d
Contents?: true
Size: 563 Bytes
Versions: 169
Compression:
Stored size: 563 Bytes
Contents
module RSpec module Matchers module BuiltIn class Eq include BaseMatcher def matches?(actual) super(actual) == expected end def failure_message_for_should "\nexpected: #{expected.inspect}\n got: #{actual.inspect}\n\n(compared using ==)\n" end def failure_message_for_should_not "\nexpected: value != #{expected.inspect}\n got: #{actual.inspect}\n\n(compared using ==)\n" end def diffable? true end end end end end
Version data entries
169 entries across 71 versions & 9 rubygems