diff options
Diffstat (limited to 'spec/db')
-rw-r--r-- | spec/db/development/create_base_work_item_types_spec.rb | 9 | ||||
-rw-r--r-- | spec/db/production/create_base_work_item_types_spec.rb | 9 | ||||
-rw-r--r-- | spec/db/schema_spec.rb | 3 |
3 files changed, 21 insertions, 0 deletions
diff --git a/spec/db/development/create_base_work_item_types_spec.rb b/spec/db/development/create_base_work_item_types_spec.rb new file mode 100644 index 00000000000..914b84d8668 --- /dev/null +++ b/spec/db/development/create_base_work_item_types_spec.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe 'Create base work item types in development' do + subject { load Rails.root.join('db', 'fixtures', 'development', '001_create_base_work_item_types.rb') } + + it_behaves_like 'work item base types importer' +end diff --git a/spec/db/production/create_base_work_item_types_spec.rb b/spec/db/production/create_base_work_item_types_spec.rb new file mode 100644 index 00000000000..81d80104bb4 --- /dev/null +++ b/spec/db/production/create_base_work_item_types_spec.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe 'Create base work item types in production' do + subject { load Rails.root.join('db', 'fixtures', 'production', '003_create_base_work_item_types.rb') } + + it_behaves_like 'work item base types importer' +end diff --git a/spec/db/schema_spec.rb b/spec/db/schema_spec.rb index 7e4b8c53885..c7739e2ff5f 100644 --- a/spec/db/schema_spec.rb +++ b/spec/db/schema_spec.rb @@ -18,6 +18,8 @@ RSpec.describe 'Database schema' do approvals: %w[user_id], approver_groups: %w[target_id], approvers: %w[target_id user_id], + analytics_cycle_analytics_merge_request_stage_events: %w[author_id group_id merge_request_id milestone_id project_id stage_event_hash_id], + analytics_cycle_analytics_issue_stage_events: %w[author_id group_id issue_id milestone_id project_id stage_event_hash_id], audit_events: %w[author_id entity_id target_id], award_emoji: %w[awardable_id user_id], aws_roles: %w[role_external_id], @@ -33,6 +35,7 @@ RSpec.describe 'Database schema' do cluster_providers_gcp: %w[gcp_project_id operation_id], compliance_management_frameworks: %w[group_id], commit_user_mentions: %w[commit_id], + dep_ci_build_trace_sections: %w[build_id], deploy_keys_projects: %w[deploy_key_id], deployments: %w[deployable_id user_id], draft_notes: %w[discussion_id commit_id], |