debian-mirror-gitlab/spec/rake_helper.rb

18 lines
350 B
Ruby
Raw Normal View History

2019-12-21 20:55:43 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
require 'spec_helper'
require 'rake'
RSpec.configure do |config|
config.include RakeHelpers
config.before(:all) do
Rake.application.rake_require 'tasks/gitlab/helpers'
Rake::Task.define_task :environment
end
config.after(:all) do
2021-11-11 11:23:49 +05:30
delete_from_all_tables!(except: deletion_except_tables)
2017-08-17 22:00:37 +05:30
end
end