Commit 16af66eb authored by Stan Hu's avatar Stan Hu

Merge branch 'axil-use-existing-img-for-help-test' into 'master'

Use an existing image for testing /help

See merge request gitlab-org/gitlab!24286
parents bbbde827 db1ebb5d
......@@ -896,6 +896,11 @@ Reference-style (hover to see title text):
[logo]: img/markdown_logo.png "Title Text"
```
<!--
DO NOT change the name of markdown_logo.png. This is used for a test
in spec/controllers/help_controller_spec.rb.
-->
Inline-style (hover to see title text):
![alt text](img/markdown_logo.png "Title Text")
......
......@@ -111,7 +111,7 @@ describe HelpController do
it 'renders the raw file' do
get :show,
params: {
path: 'fixtures/gitlab_tanuki'
path: 'user/img/markdown_logo'
},
format: :png
expect(response).to be_successful
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment