2019-10-07 03:07:19 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-08-03 04:46:43 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
require 'rake'
|
|
|
|
|
|
|
|
RSpec.configure do |config|
|
|
|
|
config.include RakeHelpers
|
|
|
|
|
|
|
|
config.before(:all) do
|
2016-11-29 18:21:25 +00:00
|
|
|
Rake.application.rake_require 'tasks/gitlab/helpers'
|
2016-08-03 04:46:43 +00:00
|
|
|
Rake::Task.define_task :environment
|
|
|
|
end
|
|
|
|
|
|
|
|
config.after(:all) do
|
2021-09-10 15:11:12 +00:00
|
|
|
delete_from_all_tables!(except: deletion_except_tables)
|
2016-08-03 04:46:43 +00:00
|
|
|
end
|
|
|
|
end
|