summaryrefslogtreecommitdiff
path: root/spec/fast_spec_helper.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-04-24 16:43:41 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-04-24 19:32:06 +0200
commit575302c1b94984cc8e96e71b8ab606e69283ec67 (patch)
tree3bfe467cffc2fd084e2ec604dc770a5c050879e3 /spec/fast_spec_helper.rb
parent17ffd9987310b7f944d0fef7519fc9e22572ebc5 (diff)
downloadgitlab-ce-575302c1b94984cc8e96e71b8ab606e69283ec67.tar.gz
Do not preload settings
Diffstat (limited to 'spec/fast_spec_helper.rb')
-rw-r--r--spec/fast_spec_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/fast_spec_helper.rb b/spec/fast_spec_helper.rb
index f28268b0754..978113a08a4 100644
--- a/spec/fast_spec_helper.rb
+++ b/spec/fast_spec_helper.rb
@@ -9,7 +9,8 @@ unless Object.respond_to?(:require_dependency)
end
end
-# Defines Gitlab and Gitlab.config which are at the center of the app
+# Defines Settings and Gitlab.config which are at the center of the app
+require_relative '../config/settings'
require_relative '../lib/gitlab' unless defined?(Gitlab.config)
require_relative 'support/rspec'