From 43a25d93ebdabea52f99b05e15b06250cd8f07d7 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 17 May 2023 16:05:49 +0000 Subject: Add latest changes from gitlab-org/gitlab@16-0-stable-ee --- spec/rubocop/cop/migration/add_concurrent_foreign_key_spec.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'spec/rubocop/cop/migration/add_concurrent_foreign_key_spec.rb') diff --git a/spec/rubocop/cop/migration/add_concurrent_foreign_key_spec.rb b/spec/rubocop/cop/migration/add_concurrent_foreign_key_spec.rb index aa39f5f1603..98cfcb5c2e2 100644 --- a/spec/rubocop/cop/migration/add_concurrent_foreign_key_spec.rb +++ b/spec/rubocop/cop/migration/add_concurrent_foreign_key_spec.rb @@ -4,8 +4,6 @@ require 'rubocop_spec_helper' require_relative '../../../../rubocop/cop/migration/add_concurrent_foreign_key' RSpec.describe RuboCop::Cop::Migration::AddConcurrentForeignKey do - let(:cop) { described_class.new } - context 'when outside of a migration' do it 'does not register any offenses' do expect_no_offenses('def up; add_foreign_key(:projects, :users, column: :user_id); end') -- cgit v1.2.3