Commit d8b8c884 authored by Mario Celi's avatar Mario Celi

Do not delete_from_all_tables after rake specs

Rake helper would set a before(:all) block for ALL specs
where it would perform a delete_from_all_tables.
This is not necessary in ALL specs as they run in a transaction.
parent 3dc0c804
......@@ -11,7 +11,7 @@ RSpec.configure do |config|
Rake::Task.define_task :environment
end
config.after(:all) do
config.after(:all, type: :task) do
delete_from_all_tables!(except: deletion_except_tables)
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment