turn down the database descruction level
This commit is contained in:
parent
2efd5eb0fb
commit
a8b1a86096
|
@ -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]}"
|
||||||
|
|
Loading…
Reference in New Issue