This gist contains code for blog post A Case For RPSPEC Custom Matcher
- spec1.rb : RSPEC validating that
implemented_rule
includesexpected_rule
- spec1-error.rb : RSPEC falsifying that
implemented_rule
includesexpected_rule
- spec2.rb : RSPEC validating that at least of of the rules in array of
implemented_rules
includeexpected_rule
, defines a new matcherinclude_rule
for validation - spec2-error.rb : RSPEC falsifying new custom matcher
include_rule