summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 13:55:35 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 13:55:35 +0200
commit019b4d34651d0638567ddd337c0cf74ba9ddeced (patch)
tree1921c820efe2a29e1b69815ce17a5a18d713ba88 /spec
parent5331a49d0bc8f6ffd7b16c1b879aee13638dcdae (diff)
downloadgitlab-ce-019b4d34651d0638567ddd337c0cf74ba9ddeced.tar.gz
Fix Rubocop offense in migration helpers specsfix/gb/improve-updating-column-in-batches-helper
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/database/migration_helpers_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/database/migration_helpers_spec.rb b/spec/lib/gitlab/database/migration_helpers_spec.rb
index fc269f33be9..4259be3f522 100644
--- a/spec/lib/gitlab/database/migration_helpers_spec.rb
+++ b/spec/lib/gitlab/database/migration_helpers_spec.rb
@@ -827,7 +827,7 @@ describe Gitlab::Database::MigrationHelpers, lib: true do
it 'replaces the correct part of the string' do
allow(model).to receive(:transaction_open?).and_return(false)
- query = model.replace_sql(Arel::Table.new(:users)[:name], 'Alice', 'Eve')
+ query = model.replace_sql(Arel::Table.new(:users)[:name], 'Alice', 'Eve')
model.update_column_in_batches(:users, :name, query)