debian-mirror-gitlab/spec/support/db_cleaner.rb
2019-07-07 11:18:12 +05:30

9 lines
171 B
Ruby

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