summaryrefslogtreecommitdiff
path: root/spec/support/matchers/exclude_matcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/exclude_matcher.rb')
-rw-r--r--spec/support/matchers/exclude_matcher.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/matchers/exclude_matcher.rb b/spec/support/matchers/exclude_matcher.rb
new file mode 100644
index 00000000000..29ee251a466
--- /dev/null
+++ b/spec/support/matchers/exclude_matcher.rb
@@ -0,0 +1,3 @@
+# frozen_string_literal: true
+
+RSpec::Matchers.define_negated_matcher :exclude, :include