diff options
author | Douwe Maan <douwe@gitlab.com> | 2019-06-20 11:31:07 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2019-06-20 11:31:07 +0300 |
commit | ef12d7adc4c3e06664c3b7324867f2472ae5be5b (patch) | |
tree | 0e16b0314d92a5ceb04fc3d396a83516128764ed /spec | |
parent | 376f2c2a141cd3eaf5252c7fc4113aefa5e9ab45 (diff) | |
parent | 6c0bc9abdd2542cc0951bd34b150a5824b987636 (diff) |
Merge branch 'sh-remove-import-columns-from-projects' into 'master'
Remove import columns from projects table
See merge request gitlab-org/gitlab-ce!29863
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/database/migration_helpers_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/database/migration_helpers_spec.rb b/spec/lib/gitlab/database/migration_helpers_spec.rb index 1e4c4c38f74..3cf3d032bf4 100644 --- a/spec/lib/gitlab/database/migration_helpers_spec.rb +++ b/spec/lib/gitlab/database/migration_helpers_spec.rb @@ -461,9 +461,9 @@ describe Gitlab::Database::MigrationHelpers do end it 'updates all the rows in a table' do - model.update_column_in_batches(:projects, :import_error, 'foo') + model.update_column_in_batches(:projects, :description_html, 'foo') - expect(Project.where(import_error: 'foo').count).to eq(5) + expect(Project.where(description_html: 'foo').count).to eq(5) end it 'updates boolean values correctly' do |