summaryrefslogtreecommitdiff
path: root/spec/migrations/calculate_conv_dev_index_percentages_spec.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-01-17 11:30:25 +0000
committerNick Thomas <nick@gitlab.com>2018-01-24 17:25:55 +0000
commit93ea3234dfaa43204c5f24d4010bbe5070d75c72 (patch)
treedab7e978b28b6dc79349a3e084fad36175cf55d7 /spec/migrations/calculate_conv_dev_index_percentages_spec.rb
parent5a4fb8f0d183c7dd1560c90e750a7a37141c22d4 (diff)
downloadgitlab-ce-93ea3234dfaa43204c5f24d4010bbe5070d75c72.tar.gz
Use the DatabaseCleaner 'deletion' strategy instead of 'truncation'
Diffstat (limited to 'spec/migrations/calculate_conv_dev_index_percentages_spec.rb')
-rw-r--r--spec/migrations/calculate_conv_dev_index_percentages_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/calculate_conv_dev_index_percentages_spec.rb b/spec/migrations/calculate_conv_dev_index_percentages_spec.rb
index 597d8eab51c..f3a46025376 100644
--- a/spec/migrations/calculate_conv_dev_index_percentages_spec.rb
+++ b/spec/migrations/calculate_conv_dev_index_percentages_spec.rb
@@ -3,7 +3,7 @@
require 'spec_helper'
require Rails.root.join('db', 'post_migrate', '20170803090603_calculate_conv_dev_index_percentages.rb')
-describe CalculateConvDevIndexPercentages, truncate: true do
+describe CalculateConvDevIndexPercentages, :delete do
let(:migration) { described_class.new }
let!(:conv_dev_index) do
create(:conversational_development_index_metric,