diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-22 13:55:35 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-22 13:55:35 +0200 |
commit | 019b4d34651d0638567ddd337c0cf74ba9ddeced (patch) | |
tree | 1921c820efe2a29e1b69815ce17a5a18d713ba88 /spec | |
parent | 5331a49d0bc8f6ffd7b16c1b879aee13638dcdae (diff) | |
download | gitlab-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.rb | 2 |
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) |