summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-24 21:08:42 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-08-24 21:08:42 +0800
commitc6f09f4d88b0fcd11d8b8c2b4fdd48d0c7e3cd61 (patch)
treed60ba3371f217b83376d26a88f89d7836edddafe
parent386bffb8ca2ea471432e0a57e27044f871610845 (diff)
downloadgitlab-ce-c6f09f4d88b0fcd11d8b8c2b4fdd48d0c7e3cd61.tar.gz
Fix spacing
-rw-r--r--spec/lib/gitlab/data_builder/pipeline_data_builder_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/data_builder/pipeline_data_builder_spec.rb b/spec/lib/gitlab/data_builder/pipeline_data_builder_spec.rb
index 24d39b318c0..fb5d07bb563 100644
--- a/spec/lib/gitlab/data_builder/pipeline_data_builder_spec.rb
+++ b/spec/lib/gitlab/data_builder/pipeline_data_builder_spec.rb
@@ -3,12 +3,13 @@ require 'spec_helper'
describe Gitlab::DataBuilder::PipelineDataBuilder do
let(:user) { create(:user) }
let(:project) { create(:project) }
+ let!(:build) { create(:ci_build, pipeline: pipeline) }
+
let(:pipeline) do
create(:ci_pipeline,
project: project, status: 'success',
sha: project.commit.sha, ref: project.default_branch)
end
- let!(:build) { create(:ci_build, pipeline: pipeline) }
describe '.build' do
let(:data) { Gitlab::DataBuilder::PipelineDataBuilder.build(pipeline) }