Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-12 15:07:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-12 15:07:33 +0300
commit784fae4b9d7e92350075df2a43d06893080ed1e6 (patch)
treec7a6fd444acd6897622b233b250a34fd176f01da /spec/models/ci/stage_spec.rb
parentfc53ce8e6ca67bf217470179a1ea6cf139bcffad (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.rb10
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