diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-02 12:07:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-02 12:07:27 +0300 |
commit | 7e8ecb5c00aae3b7072a5b8ff2c53db03c0bc579 (patch) | |
tree | e89c4b3d7af5db6805951e2847472b2e29e77bfd /spec/finders | |
parent | f58c22e1cd553626dbfa4f347afb86544865cfbe (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/template_finder_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/finders/template_finder_spec.rb b/spec/finders/template_finder_spec.rb index c466f533a61..c2b42cf0eb3 100644 --- a/spec/finders/template_finder_spec.rb +++ b/spec/finders/template_finder_spec.rb @@ -20,7 +20,6 @@ RSpec.describe TemplateFinder do :dockerfiles | 'Binary' :gitignores | 'Actionscript' :gitlab_ci_ymls | 'Android' - :metrics_dashboard_ymls | 'Default' end with_them do @@ -112,7 +111,6 @@ RSpec.describe TemplateFinder do :gitignores | described_class :gitlab_ci_ymls | described_class :licenses | ::LicenseTemplateFinder - :metrics_dashboard_ymls | described_class :issues | described_class :merge_requests | described_class end @@ -123,16 +121,6 @@ RSpec.describe TemplateFinder do it { is_expected.to be_a(expected_class) } it { expect(finder.project).to eq(project) } end - - context 'when metrics dashboard is unavailable' do - before do - stub_feature_flags(remove_monitor_metrics: true) - end - - subject(:finder) { described_class.build(:metrics_dashboard_ymls, project) } - - it { is_expected.to be_nil } - end end describe '#execute' do @@ -178,7 +166,6 @@ RSpec.describe TemplateFinder do :dockerfiles | 'Binary' :gitignores | 'Actionscript' :gitlab_ci_ymls | 'Android' - :metrics_dashboard_ymls | 'Default' end with_them do |