Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fast_spec_helper.rb « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f28268b0754450b96fbda24d1682039bf90fd7df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'bundler/setup'

ENV['GITLAB_ENV'] = 'test'
ENV['IN_MEMORY_APPLICATION_SETTINGS'] = 'true'

unless Object.respond_to?(:require_dependency)
  class Object
    alias_method :require_dependency, :require
  end
end

# Defines Gitlab and Gitlab.config which are at the center of the app
require_relative '../lib/gitlab' unless defined?(Gitlab.config)

require_relative 'support/rspec'