trabajo-afectivo/spec/support/negated_matchers.rb

5 lines
244 B
Ruby
Raw Normal View History

RSpec::Matchers.define_negated_matcher :not_change, :change
RSpec::Matchers.define_negated_matcher :not_include, :include
RSpec::Matchers.define_negated_matcher :not_eq, :eq
RSpec::Matchers.define_negated_matcher :not_raise_error, :raise_error