summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-11-21 13:48:29 -0600
committerMike Greiling <mike@pixelcog.com>2016-11-30 15:28:10 -0600
commit567b8a99fe0e454a6d2c0b79cde86ee2dea806f3 (patch)
tree0a53c009e4383c1c50f2b3fe0471f3b02131f1c6 /spec/support
parent94ae12f6979db948687464e39f76a39fa5f43bae (diff)
downloadgitlab-ce-567b8a99fe0e454a6d2c0b79cde86ee2dea806f3.tar.gz
update gitlab flavored markdown tests to reflect namespaced ids
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/matchers/markdown_matchers.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/matchers/markdown_matchers.rb b/spec/support/matchers/markdown_matchers.rb
index 8c98b1f988c..a44bd2601c1 100644
--- a/spec/support/matchers/markdown_matchers.rb
+++ b/spec/support/matchers/markdown_matchers.rb
@@ -38,9 +38,9 @@ module MarkdownMatchers
set_default_markdown_messages
match do |actual|
- expect(actual).to have_selector('h1 a#gitlab-markdown')
- expect(actual).to have_selector('h2 a#markdown')
- expect(actual).to have_selector('h3 a#autolinkfilter')
+ expect(actual).to have_selector('h1 a#user-content_gitlab-markdown')
+ expect(actual).to have_selector('h2 a#user-content_markdown')
+ expect(actual).to have_selector('h3 a#user-content_autolinkfilter')
end
end