class SpecCombos::AllMatcher

Matcher to verify that all items match something else

Private Instance Methods

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