summaryrefslogtreecommitdiff
path: root/spec/support/matchers/issuable_matchers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/issuable_matchers.rb')
-rw-r--r--spec/support/matchers/issuable_matchers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/issuable_matchers.rb b/spec/support/matchers/issuable_matchers.rb
index f5d9a97051a..62f510b0fbd 100644
--- a/spec/support/matchers/issuable_matchers.rb
+++ b/spec/support/matchers/issuable_matchers.rb
@@ -1,4 +1,4 @@
-RSpec::Matchers.define :have_header_with_correct_id_and_link do |level, text, id, parent = ".wiki"|
+RSpec::Matchers.define :have_header_with_correct_id_and_link do |level, text, id, parent = ".md"|
match do |actual|
node = find("#{parent} h#{level} a#user-content-#{id}")