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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-12-12 21:07:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-12 21:07:46 +0300
commit6121ad5af38294f12db08f13aec122c3dbef583a (patch)
tree452bdd3003f26ad4cffb9005b176bb052b810a14 /spec/tooling/danger
parent86a3b1b3ae2115c6ab7b9d492e9c89ac70963d3a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tooling/danger')
-rw-r--r--spec/tooling/danger/project_helper_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/tooling/danger/project_helper_spec.rb b/spec/tooling/danger/project_helper_spec.rb
index 2da90ddbd67..a41aba17f56 100644
--- a/spec/tooling/danger/project_helper_spec.rb
+++ b/spec/tooling/danger/project_helper_spec.rb
@@ -8,7 +8,7 @@ require 'gitlab/dangerfiles/spec_helper'
require_relative '../../../danger/plugins/project_helper'
-RSpec.describe Tooling::Danger::ProjectHelper do
+RSpec.describe Tooling::Danger::ProjectHelper, feature_category: :tooling do
include StubENV
include_context "with dangerfile"
@@ -130,6 +130,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'lib/gitlab/background_migration.rb' | [:database, :backend]
'lib/gitlab/background_migration/foo' | [:database, :backend]
'ee/lib/gitlab/background_migration/foo' | [:database, :backend]
+ 'ee/lib/ee/gitlab/background_migration/foo' | [:database, :backend]
'lib/gitlab/database.rb' | [:database, :backend]
'lib/gitlab/database/foo' | [:database, :backend]
'ee/lib/gitlab/database/foo' | [:database, :backend]
@@ -238,7 +239,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do
it { is_expected.to eq(expected_categories) }
end
- context 'having specific changes' do
+ context 'when having specific changes' do
where(:expected_categories, :patch, :changed_files) do
[:analytics_instrumentation] | '+data-track-action' | ['components/welcome.vue']
[:analytics_instrumentation] | '+ data: { track_label:' | ['admin/groups/_form.html.haml']