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:
authorNick Thomas <nick@gitlab.com>2018-01-17 14:30:25 +0300
committerNick Thomas <nick@gitlab.com>2018-01-24 20:25:55 +0300
commit93ea3234dfaa43204c5f24d4010bbe5070d75c72 (patch)
treedab7e978b28b6dc79349a3e084fad36175cf55d7 /spec/migrations/fix_wrongly_renamed_routes_spec.rb
parent5a4fb8f0d183c7dd1560c90e750a7a37141c22d4 (diff)
Use the DatabaseCleaner 'deletion' strategy instead of 'truncation'
Diffstat (limited to 'spec/migrations/fix_wrongly_renamed_routes_spec.rb')
-rw-r--r--spec/migrations/fix_wrongly_renamed_routes_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/fix_wrongly_renamed_routes_spec.rb b/spec/migrations/fix_wrongly_renamed_routes_spec.rb
index 78f8ab7512d..543cf55f076 100644
--- a/spec/migrations/fix_wrongly_renamed_routes_spec.rb
+++ b/spec/migrations/fix_wrongly_renamed_routes_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
require Rails.root.join('db', 'post_migrate', '20170518231126_fix_wrongly_renamed_routes.rb')
-describe FixWronglyRenamedRoutes, :truncate, :migration do
+describe FixWronglyRenamedRoutes, :migration do
let(:subject) { described_class.new }
let(:namespaces_table) { table(:namespaces) }
let(:projects_table) { table(:projects) }