diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-24 21:08:42 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-24 21:08:42 +0800 |
commit | c6f09f4d88b0fcd11d8b8c2b4fdd48d0c7e3cd61 (patch) | |
tree | d60ba3371f217b83376d26a88f89d7836edddafe | |
parent | 386bffb8ca2ea471432e0a57e27044f871610845 (diff) | |
download | gitlab-ce-c6f09f4d88b0fcd11d8b8c2b4fdd48d0c7e3cd61.tar.gz |
Fix spacing
-rw-r--r-- | spec/lib/gitlab/data_builder/pipeline_data_builder_spec.rb | 3 |
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) } |