summaryrefslogtreecommitdiff
path: root/spec/rubocop
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-04 21:09:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-04 21:09:33 +0000
commit961ecc4cc2cc02e14ca577da55f1be174934e879 (patch)
treef3576d0b276fa8d73ed750186072006f4bd0c204 /spec/rubocop
parentf095209fd6f7ee1053c77024808ff3f5fb378b71 (diff)
downloadgitlab-ce-961ecc4cc2cc02e14ca577da55f1be174934e879.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/rubocop')
-rw-r--r--spec/rubocop/cop/migration/update_large_table_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/rubocop/cop/migration/update_large_table_spec.rb b/spec/rubocop/cop/migration/update_large_table_spec.rb
index bdb0ca3466b..30cd84108df 100644
--- a/spec/rubocop/cop/migration/update_large_table_spec.rb
+++ b/spec/rubocop/cop/migration/update_large_table_spec.rb
@@ -76,14 +76,14 @@ describe RuboCop::Cop::Migration::UpdateLargeTable do
expect(cop.offenses).to be_empty
end
- it 'registers no offense for update_column_in_batches' do
+ it 'registers no offense for rename_column_concurrently' do
inspect_source("rename_column_concurrently :#{table}, :column, default: true")
expect(cop.offenses).to be_empty
end
- it 'registers no offense for update_column_in_batches' do
- inspect_source("add_column_with_default :#{table}, :column, default: true")
+ it 'registers no offense for update_column_concurrently' do
+ inspect_source("update_column_concurrently :#{table}, :column, default: true")
expect(cop.offenses).to be_empty
end