Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 14:55:35 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 14:55:35 +0300
commit019b4d34651d0638567ddd337c0cf74ba9ddeced (patch)
tree1921c820efe2a29e1b69815ce17a5a18d713ba88 /spec/lib/gitlab/database
parent5331a49d0bc8f6ffd7b16c1b879aee13638dcdae (diff)
Fix Rubocop offense in migration helpers specs
Diffstat (limited to 'spec/lib/gitlab/database')
-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)