diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-06 16:49:37 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-06 18:04:30 +0300 |
commit | 953a10947bea8ff75290cd50fae4ae1f7636a71d (patch) | |
tree | 060ae96378341519786aa236050c110a246047ae /spec/lib/gitlab/ci/status/stage/common_spec.rb | |
parent | 401c155e16e4966be538fd14f23e268cd3383aa7 (diff) |
Added Ci::Stage specs
Diffstat (limited to 'spec/lib/gitlab/ci/status/stage/common_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/status/stage/common_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/status/stage/common_spec.rb b/spec/lib/gitlab/ci/status/stage/common_spec.rb index f15d6047878..f3259c6f23e 100644 --- a/spec/lib/gitlab/ci/status/stage/common_spec.rb +++ b/spec/lib/gitlab/ci/status/stage/common_spec.rb @@ -1,8 +1,8 @@ require 'spec_helper' describe Gitlab::Ci::Status::Stage::Common do - let(:pipeline) { create(:ci_pipeline) } - let(:stage) { Ci::Stage.new(pipeline, name: 'test') } + let(:pipeline) { create(:ci_empty_pipeline) } + let(:stage) { build(:ci_stage, pipeline: pipeline, name: 'test') } subject do Class.new(Gitlab::Ci::Status::Core) |