debian-mirror-gitlab/spec/fast_spec_helper.rb

17 lines
498 B
Ruby
Raw Normal View History

2019-12-21 20:55:43 +05:30
# frozen_string_literal: true
2018-10-15 14:42:47 +05:30
require 'bundler/setup'
ENV['GITLAB_ENV'] = 'test'
ENV['IN_MEMORY_APPLICATION_SETTINGS'] = 'true'
2019-09-30 21:07:59 +05:30
require 'active_support/dependencies'
2019-10-12 21:52:04 +05:30
require_relative '../config/initializers/0_inject_enterprise_edition_module'
2018-10-15 14:42:47 +05:30
require_relative '../config/settings'
require_relative 'support/rspec'
2018-11-08 19:23:39 +05:30
require 'active_support/all'
ActiveSupport::Dependencies.autoload_paths << 'lib'
2018-12-13 13:39:08 +05:30
ActiveSupport::Dependencies.autoload_paths << 'ee/lib'
2019-02-15 15:39:39 +05:30
ActiveSupport::XmlMini.backend = 'Nokogiri'