Commit 33368281 authored by Lin Jen-Shin's avatar Lin Jen-Shin

No need for a separate line now

parent d0b9112f
...@@ -16,15 +16,13 @@ describe Projects::ArtifactsController do ...@@ -16,15 +16,13 @@ describe Projects::ArtifactsController do
describe 'GET /:project/artifacts/:ref/:build_name/browse' do describe 'GET /:project/artifacts/:ref/:build_name/browse' do
context '404' do context '404' do
it 'has no such ref' do it 'has no such ref' do
path = search_namespace_project_artifacts_path( get search_namespace_project_artifacts_path(
project.namespace, project.namespace,
project, project,
'TAIL', 'TAIL',
build.name, build.name,
'browse') 'browse')
get path
expect(response.status).to eq(404) expect(response.status).to eq(404)
end end
......
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