diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-12 15:07:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-12 15:07:33 +0300 |
commit | 784fae4b9d7e92350075df2a43d06893080ed1e6 (patch) | |
tree | c7a6fd444acd6897622b233b250a34fd176f01da /spec/models/ci/stage_spec.rb | |
parent | fc53ce8e6ca67bf217470179a1ea6cf139bcffad (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/ci/stage_spec.rb')
-rw-r--r-- | spec/models/ci/stage_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/models/ci/stage_spec.rb b/spec/models/ci/stage_spec.rb index 8827509edda..c997f1ef405 100644 --- a/spec/models/ci/stage_spec.rb +++ b/spec/models/ci/stage_spec.rb @@ -65,7 +65,7 @@ describe Ci::Stage, :models do it 'updates stage status correctly' do expect { stage.update_status } .to change { stage.reload.status } - .to 'running' + .to eq 'running' end end @@ -89,7 +89,7 @@ describe Ci::Stage, :models do it 'updates status to skipped' do expect { stage.update_status } .to change { stage.reload.status } - .to 'skipped' + .to eq 'skipped' end end @@ -109,7 +109,7 @@ describe Ci::Stage, :models do it 'updates status to skipped' do expect { stage.update_status } .to change { stage.reload.status } - .to 'skipped' + .to eq('skipped') end end @@ -171,7 +171,7 @@ describe Ci::Stage, :models do end it 'has a correct label' do - expect(subject.label).to eq label.to_s + expect(subject.label).to eq(label.to_s) end end @@ -187,7 +187,7 @@ describe Ci::Stage, :models do end it 'is passed with warnings' do - expect(subject.label).to eq 'passed with warnings' + expect(subject.label).to eq s_('CiStatusLabel|passed with warnings') end end end |