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:
Diffstat (limited to 'spec/tooling/danger/project_helper_spec.rb')
-rw-r--r--spec/tooling/danger/project_helper_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/tooling/danger/project_helper_spec.rb b/spec/tooling/danger/project_helper_spec.rb
index b3fb592c2e3..78e9c8e9c62 100644
--- a/spec/tooling/danger/project_helper_spec.rb
+++ b/spec/tooling/danger/project_helper_spec.rb
@@ -101,6 +101,15 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'Rakefile' | [:backend]
'FOO_VERSION' | [:backend]
+ 'lib/scripts/bar.rb' | [:backend, :tooling]
+ 'lib/scripts/bar.js' | [:frontend, :tooling]
+ 'scripts/bar.rb' | [:backend, :tooling]
+ 'scripts/bar.js' | [:frontend, :tooling]
+ 'lib/scripts/subdir/bar.rb' | [:backend, :tooling]
+ 'lib/scripts/subdir/bar.js' | [:frontend, :tooling]
+ 'scripts/subdir/bar.rb' | [:backend, :tooling]
+ 'scripts/subdir/bar.js' | [:frontend, :tooling]
+
'Dangerfile' | [:tooling]
'danger/bundle_size/Dangerfile' | [:tooling]
'ee/danger/bundle_size/Dangerfile' | [:tooling]