debian-mirror-gitlab/spec/rake_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
363 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
2022-03-02 08:16:31 +05:30
config.after(:all, type: :task) 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