Chatwoot/spec/support/negated_matchers.rb
2022-10-12 13:38:18 +05:30

3 lines
172 B
Ruby

# "not_change" is needed to support chaining "change" matchers
# see https://stackoverflow.com/a/34969429/58876
RSpec::Matchers.define_negated_matcher :not_change, :change