diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-05 16:47:35 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-06 16:13:21 +0300 |
commit | 13cee6d7fc568f42a43dd78cc86c033d06faf2b3 (patch) | |
tree | a8f00d3cf1f4a634b84f966e6c65c51f460c8650 /spec/lib/gitlab/ci/status/stage/common_spec.rb | |
parent | 10499677e2cbabc6331837d20afc0e0fe68ddc37 (diff) |
Fix test failures
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 c3cb30a35e4..f15d6047878 100644 --- a/spec/lib/gitlab/ci/status/stage/common_spec.rb +++ b/spec/lib/gitlab/ci/status/stage/common_spec.rb @@ -2,11 +2,11 @@ require 'spec_helper' describe Gitlab::Ci::Status::Stage::Common do let(:pipeline) { create(:ci_pipeline) } - let(:stage) { Ci::Stage.new(pipeline, 'test') } + let(:stage) { Ci::Stage.new(pipeline, name: 'test') } subject do Class.new(Gitlab::Ci::Status::Core) - .new(pipeline).extend(described_class) + .new(stage).extend(described_class) end it 'does not have action' do |