diff options
author | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 22:34:23 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 22:34:23 +0300 |
commit | 6438df3a1e0fb944485cebf07976160184697d72 (patch) | |
tree | 00b09bfd170e77ae9391b1a2f5a93ef6839f2597 /spec/rubocop/cop/usage_data | |
parent | 42bcd54d971da7ef2854b896a7b34f4ef8601067 (diff) |
Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42
Diffstat (limited to 'spec/rubocop/cop/usage_data')
-rw-r--r-- | spec/rubocop/cop/usage_data/distinct_count_by_large_foreign_key_spec.rb | 2 | ||||
-rw-r--r-- | spec/rubocop/cop/usage_data/large_table_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/rubocop/cop/usage_data/distinct_count_by_large_foreign_key_spec.rb b/spec/rubocop/cop/usage_data/distinct_count_by_large_foreign_key_spec.rb index 8b6a2eac349..1c90df798a5 100644 --- a/spec/rubocop/cop/usage_data/distinct_count_by_large_foreign_key_spec.rb +++ b/spec/rubocop/cop/usage_data/distinct_count_by_large_foreign_key_spec.rb @@ -7,7 +7,7 @@ require 'rubocop/rspec/support' require_relative '../../../../rubocop/cop/usage_data/distinct_count_by_large_foreign_key' -RSpec.describe RuboCop::Cop::UsageData::DistinctCountByLargeForeignKey, type: :rubocop do +RSpec.describe RuboCop::Cop::UsageData::DistinctCountByLargeForeignKey do include CopHelper let(:allowed_foreign_keys) { [:author_id, :user_id, :'merge_requests.target_project_id'] } diff --git a/spec/rubocop/cop/usage_data/large_table_spec.rb b/spec/rubocop/cop/usage_data/large_table_spec.rb index de6fb9c17e2..638e8c67dc8 100644 --- a/spec/rubocop/cop/usage_data/large_table_spec.rb +++ b/spec/rubocop/cop/usage_data/large_table_spec.rb @@ -7,7 +7,7 @@ require 'rubocop/rspec/support' require_relative '../../../../rubocop/cop/usage_data/large_table' -RSpec.describe RuboCop::Cop::UsageData::LargeTable, type: :rubocop do +RSpec.describe RuboCop::Cop::UsageData::LargeTable do include CopHelper let(:large_tables) { %i[Rails Time] } |