From a8b1a86096e945d8b676aa1cc26a918b0ce8bc8e Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 6 Feb 2012 11:20:09 -0500 Subject: [PATCH] turn down the database descruction level --- lib/vegetable_glue/routes.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/vegetable_glue/routes.rb b/lib/vegetable_glue/routes.rb index 46583b6..eed78e6 100644 --- a/lib/vegetable_glue/routes.rb +++ b/lib/vegetable_glue/routes.rb @@ -13,7 +13,6 @@ class ActionDispatch::Routing::Mapper params = Hash[URI.decode_www_form(env['QUERY_STRING'])] DatabaseCleaner.clean_with :truncation - DatabaseCleaner.clean_with :deletion if params[:scenario] Rails.logger.info "Cleaning database for #{params[:scenario]}"