Commit 6c8e73a7 authored by Michael Walker's avatar Michael Walker Committed by Albert Salim

Add datateam danger file to danger list and danger test

parent b1f3959e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# rubocop:disable Style/SignalException # rubocop:disable Style/SignalException
CHANGED_SCHEMA_MESSAGE = <<~MSG CHANGED_SCHEMA_MESSAGE = <<~MSG
Tagging @gitlab-data/engineers to be notified about changes to the db/structure.sql file. Mentioning @gitlab-data/engineers to notify the team about changes to the db/structure.sql file.
MSG MSG
......
...@@ -220,7 +220,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do ...@@ -220,7 +220,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do
describe '.local_warning_message' do describe '.local_warning_message' do
it 'returns an informational message with rules that can run' do it 'returns an informational message with rules that can run' do
expect(described_class.local_warning_message).to eq('==> Only the following Danger rules can be run locally: changelog, changes_size, commit_messages, database, documentation, duplicate_yarn_dependencies, eslint, karma, pajamas, pipeline, prettier, product_intelligence, utility_css') expect(described_class.local_warning_message).to eq('==> Only the following Danger rules can be run locally: changelog, changes_size, commit_messages, database, datateam, documentation, duplicate_yarn_dependencies, eslint, karma, pajamas, pipeline, prettier, product_intelligence, utility_css')
end end
end end
......
...@@ -8,6 +8,7 @@ module Tooling ...@@ -8,6 +8,7 @@ module Tooling
changes_size changes_size
commit_messages commit_messages
database database
datateam
documentation documentation
duplicate_yarn_dependencies duplicate_yarn_dependencies
eslint eslint
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment