diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-13 17:49:42 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-13 17:49:42 +0800 |
commit | 3336828152767bf22f9c59d54c1c13f5e3d88132 (patch) | |
tree | 0c9f97fa586a844942c4130fca718cf3904dc618 /spec/requests/projects | |
parent | d0b9112fefcf0ee01d9df2dd9c2f1076738a53f1 (diff) | |
download | gitlab-ce-3336828152767bf22f9c59d54c1c13f5e3d88132.tar.gz |
No need for a separate line now
Diffstat (limited to 'spec/requests/projects')
-rw-r--r-- | spec/requests/projects/artifacts_controller_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/requests/projects/artifacts_controller_spec.rb b/spec/requests/projects/artifacts_controller_spec.rb index b11eb1aedcc..2ab1c1ac428 100644 --- a/spec/requests/projects/artifacts_controller_spec.rb +++ b/spec/requests/projects/artifacts_controller_spec.rb @@ -16,15 +16,13 @@ describe Projects::ArtifactsController do describe 'GET /:project/artifacts/:ref/:build_name/browse' do context '404' do it 'has no such ref' do - path = search_namespace_project_artifacts_path( + get search_namespace_project_artifacts_path( project.namespace, project, 'TAIL', build.name, 'browse') - get path - expect(response.status).to eq(404) end |