diff options
Diffstat (limited to 'spec/tooling/danger/product_intelligence_spec.rb')
-rw-r--r-- | spec/tooling/danger/product_intelligence_spec.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/tooling/danger/product_intelligence_spec.rb b/spec/tooling/danger/product_intelligence_spec.rb index 4ab911b6590..5fd44ef5de0 100644 --- a/spec/tooling/danger/product_intelligence_spec.rb +++ b/spec/tooling/danger/product_intelligence_spec.rb @@ -59,6 +59,14 @@ RSpec.describe Tooling::Danger::ProductIntelligence do it { is_expected.to be_empty } end + + context 'with growth experiment label' do + before do + allow(fake_helper).to receive(:mr_has_labels?).with('growth experiment').and_return(true) + end + + it { is_expected.to be_empty } + end end describe '#matching_changed_files' do @@ -74,7 +82,7 @@ RSpec.describe Tooling::Danger::ProductIntelligence do context 'with snowplow files changed' do context 'when vue file changed' do - let(:changed_lines) { ['+data-track-event'] } + let(:changed_lines) { ['+data-track-action'] } it { is_expected.to match_array(['components/welcome.vue']) } end |