summaryrefslogtreecommitdiff
path: root/spec/features/help_pages_spec.rb
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-05-16 17:06:26 -0500
committerConnor Shea <connor.james.shea@gmail.com>2016-07-11 12:55:25 -0600
commit3358afa758c7db96ea8fce2a10cdf9c0abe85216 (patch)
tree74ab1040e343b43706b677e8c8f5582e640ff483 /spec/features/help_pages_spec.rb
parent61f0e89484be5aca5d22ab63c72b08575f7e3f6d (diff)
downloadgitlab-ce-3358afa758c7db96ea8fce2a10cdf9c0abe85216.tar.gz
Update the help_page_path route to accept paths directly instead of using parameters.
Diffstat (limited to 'spec/features/help_pages_spec.rb')
-rw-r--r--spec/features/help_pages_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/help_pages_spec.rb b/spec/features/help_pages_spec.rb
index 8c6b669ce78..1e2306d7f59 100644
--- a/spec/features/help_pages_spec.rb
+++ b/spec/features/help_pages_spec.rb
@@ -6,7 +6,7 @@ describe 'Help Pages', feature: true do
login_as :user
end
it 'replace the variable $your_email with the email of the user' do
- visit help_page_path('ssh', 'README')
+ visit help_page_path('ssh/README')
expect(page).to have_content("ssh-keygen -t rsa -C \"#{@user.email}\"")
end
end