summaryrefslogtreecommitdiff
path: root/features
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 /features
parent5a4fb8f0d183c7dd1560c90e750a7a37141c22d4 (diff)
downloadgitlab-ce-93ea3234dfaa43204c5f24d4010bbe5070d75c72.tar.gz
Use the DatabaseCleaner 'deletion' strategy instead of 'truncation'
Diffstat (limited to 'features')
-rw-r--r--features/support/db_cleaner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/db_cleaner.rb b/features/support/db_cleaner.rb
index 8294bb1445f..31c922d23c3 100644
--- a/features/support/db_cleaner.rb
+++ b/features/support/db_cleaner.rb
@@ -1,6 +1,6 @@
require 'database_cleaner'
-DatabaseCleaner[:active_record].strategy = :truncation
+DatabaseCleaner[:active_record].strategy = :deletion
Spinach.hooks.before_scenario do
DatabaseCleaner.start