class SpecCombos::AnyMatcher

Matcher to verify that all items match something else

Private Instance Methods

failure_summary_for_should() click to toggle source
# File lib/spec_combos/any_matcher.rb, line 15
def failure_summary_for_should
  "expected #{actual_items} to #{description}, but none were:"
end
failure_summary_for_should_not() click to toggle source
# File lib/spec_combos/any_matcher.rb, line 19
def failure_summary_for_should_not
  "expected #{actual_items} not to #{description}, but the following were:"
end
short_description() click to toggle source
# File lib/spec_combos/any_matcher.rb, line 11
def short_description
  "have any that"
end