diff options
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] } |