Commit 329df0a6 authored by Rémy Coutable's avatar Rémy Coutable

Use the :migration metadata in migration specs

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent b7ee82b6
......@@ -37,10 +37,6 @@ RSpec.configure do |config|
DatabaseCleaner.strategy = :deletion, { except: %w[licenses] }
end
config.before(:each, :delete_no_cache) do
DatabaseCleaner.strategy = :deletion, { cache_tables: false }
end
config.before(:each, :migration) do
DatabaseCleaner.strategy = :deletion, { cache_tables: false }
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