diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-19 15:57:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-19 15:57:54 +0300 |
commit | 419c53ec62de6e97a517abd5fdd4cbde3a942a34 (patch) | |
tree | 1f43a548b46bca8a5fb8fe0c31cef1883d49c5b6 /spec/tooling/danger/feature_flag_spec.rb | |
parent | 1da20d9135b3ad9e75e65b028bffc921aaf8deb7 (diff) |
Add latest changes from gitlab-org/gitlab@16-5-stable-eev16.5.0-rc42
Diffstat (limited to 'spec/tooling/danger/feature_flag_spec.rb')
-rw-r--r-- | spec/tooling/danger/feature_flag_spec.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/tooling/danger/feature_flag_spec.rb b/spec/tooling/danger/feature_flag_spec.rb index f4df2e1226c..4575d8ca981 100644 --- a/spec/tooling/danger/feature_flag_spec.rb +++ b/spec/tooling/danger/feature_flag_spec.rb @@ -83,28 +83,6 @@ RSpec.describe Tooling::Danger::FeatureFlag do end end - describe '#stage_label' do - before do - allow(fake_helper).to receive(:mr_labels).and_return(labels) - end - - context 'when there is no stage label' do - let(:labels) { [] } - - it 'returns nil' do - expect(feature_flag.stage_label).to be_nil - end - end - - context 'when there is a stage label' do - let(:labels) { ['devops::verify', 'group::pipeline execution'] } - - it 'returns the stage label' do - expect(feature_flag.stage_label).to eq(labels.first) - end - end - end - describe described_class::Found do let(:feature_flag_path) { 'config/feature_flags/development/entry.yml' } let(:group) { 'group::source code' } |