Chatwoot/spec/support/negated_matchers.rb

4 lines
172 B
Ruby
Raw Normal View History

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