summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-11-03 14:02:52 -0500
committerMike Greiling <mike@pixelcog.com>2017-11-03 14:02:52 -0500
commit72157766a2c5b65bece2077c8b3eddcb8af5b374 (patch)
tree5b9c3d0d9d1392d4859c22b2584a03332b3b48c3 /spec/support
parent817c7fb1b0cbd0d008706e060c4cecd0401b5f0c (diff)
parent4841c3cb4565996b1a54ef045f9f84548dcc5d6a (diff)
downloadgitlab-ce-72157766a2c5b65bece2077c8b3eddcb8af5b374.tar.gz
Merge branch 'master' into sh-headless-chrome-support
* master: (33 commits) Ignore SQL CACHE hits in Sherlock Fix SQL timings for the performance bar Find the LFS-objects for a fork within a the fork network Remove bottom-border from last responsive table row Add system hooks user_rename and group_rename Unlink a project from a fork network when it's source was deleted. Make sure the settings page renders when root of a fork is deleted Remove Peek's original keyboard shortcut (numpad 0, keycode 96) Add application setting to Auto DevOps docs Enable MergeableSelector in scss-lint (for !14567) Enable MergeableSelector in scss-lint (for !14055) Enable MergeableSelector in scss-lint (for !14062) Enable MergeableSelector in scss-lint (for !14398) Enable MergeableSelector in scss-lint (for !13480) Enable MergeableSelector in scss-lint (for !13473) Enable MergeableSelector in scss-lint (for !13600) Enable MergeableSelector in scss-lint Resolve ""To do" should be "Todos" on Todos list page" Avoid regenerating the ref path for the environment Remove white space at bottom of issue boards ...
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/stub_configuration.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/stub_configuration.rb b/spec/support/stub_configuration.rb
index 4d448a55978..4ead78529c3 100644
--- a/spec/support/stub_configuration.rb
+++ b/spec/support/stub_configuration.rb
@@ -38,6 +38,10 @@ module StubConfiguration
allow(Gitlab.config.backup).to receive_messages(to_settings(messages))
end
+ def stub_lfs_setting(messages)
+ allow(Gitlab.config.lfs).to receive_messages(to_settings(messages))
+ end
+
def stub_storage_settings(messages)
# Default storage is always required
messages['default'] ||= Gitlab.config.repositories.storages.default