Commit a38a799f authored by Sean McGivern's avatar Sean McGivern

Merge branch '4846-fix_failing_spec' into 'master'

Resolve "Specs in EE master fail with #show for image formats when requested file exists renders the raw file"

Closes #4846

See merge request gitlab-org/gitlab-ee!4430
parents 86cd022a dd72f2b9
......@@ -68,7 +68,7 @@ describe HelpController do
context 'when requested file exists' do
it 'renders the raw file' do
get :show,
path: 'user/project/img/labels_filter',
path: 'user/project/img/labels_default',
format: :png
expect(response).to be_success
expect(response.content_type).to eq 'image/png'
......
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