diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-21 22:48:29 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-12-01 00:28:10 +0300 |
commit | 567b8a99fe0e454a6d2c0b79cde86ee2dea806f3 (patch) | |
tree | 0a53c009e4383c1c50f2b3fe0471f3b02131f1c6 /spec/support/matchers | |
parent | 94ae12f6979db948687464e39f76a39fa5f43bae (diff) |
update gitlab flavored markdown tests to reflect namespaced ids
Diffstat (limited to 'spec/support/matchers')
-rw-r--r-- | spec/support/matchers/markdown_matchers.rb | 6 |
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 |