@@ -25,30 +25,30 @@ def self.configuration
2525 @_configuration ||= Configuration . new
2626 end
2727
28- def self . partial_hash ?( value )
29- partial_placeholder ?( value ) &&
28+ def self . a_hash_including_something ?( value )
29+ fuzzy_object ?( value ) &&
3030 value . respond_to? ( :expecteds ) &&
3131 value . expecteds . one? &&
3232 value . expecteds . first . is_a? ( ::Hash )
3333 end
3434
35- def self . partial_array ?( value )
36- partial_placeholder ?( value ) &&
35+ def self . a_collection_including_something ?( value )
36+ fuzzy_object ?( value ) &&
3737 value . respond_to? ( :expecteds ) &&
3838 !( value . expecteds . one? && value . expecteds . first . is_a? ( ::Hash ) )
3939 end
4040
41- def self . partial_object ?( value )
42- partial_placeholder ?( value ) &&
41+ def self . an_object_having_some_attributes ?( value )
42+ fuzzy_object ?( value ) &&
4343 value . base_matcher . is_a? ( ::RSpec ::Matchers ::BuiltIn ::HaveAttributes )
4444 end
4545
46- def self . collection_containing_exactly ?( value )
47- partial_placeholder ?( value ) &&
46+ def self . a_collection_containing_exactly_something ?( value )
47+ fuzzy_object ?( value ) &&
4848 value . base_matcher . is_a? ( ::RSpec ::Matchers ::BuiltIn ::ContainExactly )
4949 end
5050
51- def self . partial_placeholder ?( value )
51+ def self . fuzzy_object ?( value )
5252 value . is_a? ( ::RSpec ::Matchers ::AliasedMatcher )
5353 end
5454 end
0 commit comments