Sha256: d8d2949c91698cec4dda0e46b7bddcccf407f95ce6b50469a044bb3953771c8f
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
require 'object_comparator' class ObjectComparator module Minitest def assert_equal_objects(obj1, obj2, message = nil) obj1 = InspectionString.new(obj1.inspect) obj2 = InspectionString.new(obj2.inspect) assert_equal(obj2, obj1, message) end def refute_equal_objects(obj1, obj2, message = nil) obj1 = InspectionString.new(obj1.inspect) obj2 = InspectionString.new(obj2.inspect) refute_equal(obj2, obj1, message) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
object_comparator-0.1.0 | lib/object_comparator/minitest.rb |