gmalamid-synthesis 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/synthesis/expectation_record.rb +3 -0
- data/synthesis.gemspec +1 -1
- metadata +1 -1
@@ -77,8 +77,11 @@ module Synthesis
|
|
77
77
|
|
78
78
|
def ignore?(obj)
|
79
79
|
ignored.include?(obj.class) ||
|
80
|
+
ignored.include?(obj.class.to_s) ||
|
80
81
|
(obj.is_a?(Class) && ignored.include?(obj)) ||
|
82
|
+
(obj.is_a?(Class) && ignored.include?(obj.to_s)) ||
|
81
83
|
(obj.is_a?(Module) && ignored.include?(obj)) ||
|
84
|
+
(obj.is_a?(Module) && ignored.include?(obj.to_s)) ||
|
82
85
|
obj.is_a?(MOCK_OBJECT)
|
83
86
|
end
|
84
87
|
|
data/synthesis.gemspec
CHANGED