gitlab-org--gitlab-foss/spec/support/db_cleaner.rb
Rémy Coutable 68b7f99fa4
Reduce differences in spec/support/db_cleaner.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-07 08:13:37 +01:00

9 lines
171 B
Ruby

module DbCleaner
def deletion_except_tables
[]
end
def setup_database_cleaner
DatabaseCleaner[:active_record, { connection: ActiveRecord::Base }]
end
end