summaryrefslogtreecommitdiff
path: root/spec/migrations/update_retried_for_ci_build_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/migrations/update_retried_for_ci_build_spec.rb')
-rw-r--r--spec/migrations/update_retried_for_ci_build_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/update_retried_for_ci_build_spec.rb b/spec/migrations/update_retried_for_ci_build_spec.rb
index 3742b4dafe5..ccb77766b84 100644
--- a/spec/migrations/update_retried_for_ci_build_spec.rb
+++ b/spec/migrations/update_retried_for_ci_build_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
require Rails.root.join('db', 'post_migrate', '20170503004427_update_retried_for_ci_build.rb')
-describe UpdateRetriedForCiBuild, truncate: true do
+describe UpdateRetriedForCiBuild, :delete do
let(:pipeline) { create(:ci_pipeline) }
let!(:build_old) { create(:ci_build, pipeline: pipeline, name: 'test') }
let!(:build_new) { create(:ci_build, pipeline: pipeline, name: 'test') }