object_comparator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/object_comparator/minitest.rb +2 -2
- data/lib/object_comparator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d307d150e4a8ed3e8998cd34bc593b07c3472f67
|
4
|
+
data.tar.gz: a25b42a56c697a3a9d6a1370b8c4dc579f9e540d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fd96339f0031c41a0162b4f67eec2667afaad9f6b1f51c0a91b2842ee462e7711e9752413db5bdc63a1bfaf417f63e9262149308cf9fa777310f9891bd28af8
|
7
|
+
data.tar.gz: f9d2adab76bb595274decf7959dfe30baaa09e556d82f4a860c681ce738b800033f477c05d0378b2ae6d8f25bceeb340bca4f2d9002218502968ced1069b8f73
|
@@ -6,14 +6,14 @@ class ObjectComparator
|
|
6
6
|
obj1 = InspectionString.new(obj1.inspect)
|
7
7
|
obj2 = InspectionString.new(obj2.inspect)
|
8
8
|
|
9
|
-
assert_equal(
|
9
|
+
assert_equal(obj1, obj2, message)
|
10
10
|
end
|
11
11
|
|
12
12
|
def refute_equal_objects(obj1, obj2, message = nil)
|
13
13
|
obj1 = InspectionString.new(obj1.inspect)
|
14
14
|
obj2 = InspectionString.new(obj2.inspect)
|
15
15
|
|
16
|
-
refute_equal(
|
16
|
+
refute_equal(obj1, obj2, message)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|