summaryrefslogtreecommitdiff
path: root/spec/rake_helper.rb
blob: ca5b4d8337c5634e1d0ad81a4bacee064d589b63 (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!(except: deletion_except_tables)
  end
end