summaryrefslogtreecommitdiff
path: root/spec/requests/projects
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-10 18:57:51 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-08-10 18:57:51 +0800
commitcc3dbf83f4c0cf21fee56398f27851981f0e98f6 (patch)
tree41dce82288fd3e5a28c8e5803e793d682375719b /spec/requests/projects
parent3eae0641ef0708f9b223abbe0070e332ea0b20ac (diff)
downloadgitlab-ce-cc3dbf83f4c0cf21fee56398f27851981f0e98f6.tar.gz
Empty lines around blocks
Diffstat (limited to 'spec/requests/projects')
-rw-r--r--spec/requests/projects/artifacts_controller_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/requests/projects/artifacts_controller_spec.rb b/spec/requests/projects/artifacts_controller_spec.rb
index b823676d9e1..952b9fb99b7 100644
--- a/spec/requests/projects/artifacts_controller_spec.rb
+++ b/spec/requests/projects/artifacts_controller_spec.rb
@@ -3,12 +3,14 @@ require 'spec_helper'
describe Projects::ArtifactsController do
let(:user) { create(:user) }
let(:project) { create(:project) }
+
let(:pipeline) do
create(:ci_pipeline,
project: project,
sha: project.commit.sha,
ref: project.default_branch)
end
+
let(:build) { create(:ci_build, :success, :artifacts, pipeline: pipeline) }
describe 'GET /:project/builds/artifacts/:ref_name/browse?job=name' do