diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-12 12:11:28 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-12 12:11:28 +0200 |
commit | 160aaca0fbfaa9848dec769019df9c0c78059b56 (patch) | |
tree | 3426eee70b6b0ba5f6ae62b419f5a4dbe56309a1 | |
parent | 706d872eb2ebb462b5c226890120f51cf15ba7c5 (diff) | |
download | gitlab-ce-160aaca0fbfaa9848dec769019df9c0c78059b56.tar.gz |
Make pipeline to be in created state for hooks tests
-rw-r--r-- | spec/models/ci/pipeline_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/pipeline_spec.rb b/spec/models/ci/pipeline_spec.rb index 9c5d56fe5bb..a3f9934971a 100644 --- a/spec/models/ci/pipeline_spec.rb +++ b/spec/models/ci/pipeline_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe Ci::Pipeline, models: true do let(:project) { FactoryGirl.create :empty_project } - let(:pipeline) { FactoryGirl.create :ci_empty_pipeline, project: project } + let(:pipeline) { FactoryGirl.create :ci_empty_pipeline, status: 'created', project: project } it { is_expected.to belong_to(:project) } it { is_expected.to belong_to(:user) } |