From 019b4d34651d0638567ddd337c0cf74ba9ddeced Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 22 Jun 2017 13:55:35 +0200 Subject: [PATCH] Fix Rubocop offense in migration helpers specs --- spec/lib/gitlab/database/migration_helpers_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)