diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-11-03 14:59:47 +0100 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-11-03 14:59:47 +0100 |
commit | 0f1d6402b9ebf25d5ddd09effe6dce1902ae476b (patch) | |
tree | 49bac1361eea22526709bb777c542ce1dd39a851 /spec/support | |
parent | 7582bc8b4eacfe70ecc575f724285de471d6c743 (diff) | |
download | gitlab-ce-0f1d6402b9ebf25d5ddd09effe6dce1902ae476b.tar.gz |
Find the LFS-objects for a fork within a the fork network
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/stub_configuration.rb | 4 |
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 |