summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-11-29 13:07:38 -0600
committerMike Greiling <mike@pixelcog.com>2016-11-30 15:28:11 -0600
commit131a04d7962b01daa58b8e5efe3f1359a3e73fe1 (patch)
treec08cef8bce50b182a750fb9453c8585ccdcad686 /features
parent19f174bc68e0dc17e0298d8903bc855868334776 (diff)
downloadgitlab-ce-131a04d7962b01daa58b8e5efe3f1359a3e73fe1.tar.gz
remove underscore from user-content id namespace22781-user-generated-permalinks
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/markdown.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/markdown.rb b/features/steps/shared/markdown.rb
index d355913a7ce..a036d9b884f 100644
--- a/features/steps/shared/markdown.rb
+++ b/features/steps/shared/markdown.rb
@@ -2,7 +2,7 @@ module SharedMarkdown
include Spinach::DSL
def header_should_have_correct_id_and_link(level, text, id, parent = ".wiki")
- node = find("#{parent} h#{level} a#user-content_#{id}")
+ node = find("#{parent} h#{level} a#user-content-#{id}")
expect(node[:href]).to eq "##{id}"
# Work around a weird Capybara behavior where calling `parent` on a node