Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-13 12:49:42 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-07-13 12:49:42 +0300
commit3336828152767bf22f9c59d54c1c13f5e3d88132 (patch)
tree0c9f97fa586a844942c4130fca718cf3904dc618 /spec/requests/projects
parentd0b9112fefcf0ee01d9df2dd9c2f1076738a53f1 (diff)
No need for a separate line now
Diffstat (limited to 'spec/requests/projects')
-rw-r--r--spec/requests/projects/artifacts_controller_spec.rb4
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