summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2019-06-20 08:31:07 +0000
committerDouwe Maan <douwe@gitlab.com>2019-06-20 08:31:07 +0000
commitef12d7adc4c3e06664c3b7324867f2472ae5be5b (patch)
tree0e16b0314d92a5ceb04fc3d396a83516128764ed /spec
parent376f2c2a141cd3eaf5252c7fc4113aefa5e9ab45 (diff)
parent6c0bc9abdd2542cc0951bd34b150a5824b987636 (diff)
downloadgitlab-ce-ef12d7adc4c3e06664c3b7324867f2472ae5be5b.tar.gz
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.rb4
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