summaryrefslogtreecommitdiff
path: root/qa/spec/support/matchers/have_content.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/support/matchers/have_content.rb')
-rw-r--r--qa/spec/support/matchers/have_content.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/qa/spec/support/matchers/have_content.rb b/qa/spec/support/matchers/have_content.rb
deleted file mode 100644
index 66b30b3b6e4..00000000000
--- a/qa/spec/support/matchers/have_content.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-module Matchers
- module HaveContent
- RSpec::Matchers.define :have_content do |content|
- match do |page_object|
- page_object.has_content?(content)
- end
-
- match_when_negated do |page_object|
- page_object.has_no_content?(content)
- end
- end
- end
-end