summaryrefslogtreecommitdiff
path: root/spec/rake_helper.rb
blob: 7df1cf7444fe5ff439d3f0213d35df0506f33e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

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
    delete_from_all_tables!
  end
end