turn down the database descruction level

This commit is contained in:
John Bintz 2012-02-06 11:20:09 -05:00
parent 2efd5eb0fb
commit a8b1a86096

View File

@ -13,7 +13,6 @@ class ActionDispatch::Routing::Mapper
params = Hash[URI.decode_www_form(env['QUERY_STRING'])] params = Hash[URI.decode_www_form(env['QUERY_STRING'])]
DatabaseCleaner.clean_with :truncation DatabaseCleaner.clean_with :truncation
DatabaseCleaner.clean_with :deletion
if params[:scenario] if params[:scenario]
Rails.logger.info "Cleaning database for #{params[:scenario]}" Rails.logger.info "Cleaning database for #{params[:scenario]}"