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-11-23 00:06:19 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-23 00:06:19 +0300
commit69a23cbee136eda0ab37874399421e6865cfc76b (patch)
treea6c94293a789bb2bdcbd6d8caf7a79dbac2ebee0 /spec/lib/gitlab/danger
parentea4762d464bb36f3e36e318db47086e41f493377 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/danger')
-rw-r--r--spec/lib/gitlab/danger/teammate_spec.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/lib/gitlab/danger/teammate_spec.rb b/spec/lib/gitlab/danger/teammate_spec.rb
index 35edfa08a63..bf6152ff3c2 100644
--- a/spec/lib/gitlab/danger/teammate_spec.rb
+++ b/spec/lib/gitlab/danger/teammate_spec.rb
@@ -33,8 +33,8 @@ describe Gitlab::Danger::Teammate do
context 'when labels contain devops::create and the category is test' do
let(:labels) { ['devops::create'] }
- context 'when role is Test Automation Engineer, Create' do
- let(:role) { 'Test Automation Engineer, Create' }
+ context 'when role is Software Engineer in Test, Create' do
+ let(:role) { 'Software Engineer in Test, Create' }
it '#reviewer? returns true' do
expect(subject.reviewer?(project, :test, labels)).to be_truthy
@@ -45,7 +45,7 @@ describe Gitlab::Danger::Teammate do
end
context 'when hyperlink is mangled in the role' do
- let(:role) { '<a href="#">Test Automation Engineer</a>, Create' }
+ let(:role) { '<a href="#">Software Engineer in Test</a>, Create' }
it '#reviewer? returns true' do
expect(subject.reviewer?(project, :test, labels)).to be_truthy
@@ -53,16 +53,16 @@ describe Gitlab::Danger::Teammate do
end
end
- context 'when role is Test Automation Engineer' do
- let(:role) { 'Test Automation Engineer' }
+ context 'when role is Software Engineer in Test' do
+ let(:role) { 'Software Engineer in Test' }
it '#reviewer? returns false' do
expect(subject.reviewer?(project, :test, labels)).to be_falsey
end
end
- context 'when role is Test Automation Engineer, Manage' do
- let(:role) { 'Test Automation Engineer, Manage' }
+ context 'when role is Software Engineer in Test, Manage' do
+ let(:role) { 'Software Engineer in Test, Manage' }
it '#reviewer? returns false' do
expect(subject.reviewer?(project, :test, labels)).to be_falsey