mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
DEV: Don’t use change { … }.by(0)
in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
3bfc254c4e
commit
91b6b5eee7
3
spec/support/negated_matcher.rb
Normal file
3
spec/support/negated_matcher.rb
Normal file
@ -0,0 +1,3 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RSpec::Matchers.define_negated_matcher :not_change, :change
|
Reference in New Issue
Block a user