debian-mirror-gitlab/spec/support/db_cleaner.rb
2019-05-18 00:54:41 +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