Fix Rubocop offense in migration helpers specs

This commit is contained in:
Grzegorz Bizon 2017-06-22 13:55:35 +02:00
parent 5331a49d0b
commit 019b4d3465
1 changed files with 1 additions and 1 deletions

View File

@ -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)