diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-08-27 12:57:30 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-08-27 12:57:30 +0000 |
commit | 7671c592f826f44be5a8a7dc947fba467f5df851 (patch) | |
tree | b7305bbc51e8b0d0538fe9ae0607e2db998c3a62 /spec/lib | |
parent | 4ad96a4e927808a3afd7fe9726fa86345c2791e6 (diff) | |
parent | cfef583e943620b8f78a804b484f843e6776cf91 (diff) | |
download | gitlab-ce-7671c592f826f44be5a8a7dc947fba467f5df851.tar.gz |
Merge branch '65312-use-group-labels-instead-of-legacy-team-labels-for-danger-picking-test-reviewers' into 'master'
Detect the new stage labels in `Gitlab::Danger::Teammate`
Closes #65312
See merge request gitlab-org/gitlab-ce!32261
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/danger/teammate_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/danger/teammate_spec.rb b/spec/lib/gitlab/danger/teammate_spec.rb index 171f2344e82..61b43e343c1 100644 --- a/spec/lib/gitlab/danger/teammate_spec.rb +++ b/spec/lib/gitlab/danger/teammate_spec.rb @@ -28,7 +28,7 @@ describe Gitlab::Danger::Teammate do end context 'when labels contain Create and the category is test' do - let(:labels) { ['Create'] } + let(:labels) { ['devops::create'] } context 'when role is Test Automation Engineer, Create' do let(:role) { 'Test Automation Engineer, Create' } |