summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-08-21 17:09:37 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-08-22 13:06:25 -0400
commita6fbd8648e782d871482cad5719a4fdd9fa5a6bc (patch)
tree6217eda7bbd22e77288330c788dbbfe2062eabbc /spec/lib/gitlab
parent8654b771588fff719aa313cd115b0c6fa4ab36f3 (diff)
downloadgitlab-ce-a6fbd8648e782d871482cad5719a4fdd9fa5a6bc.tar.gz
Stub `ForkedStorageCheck.storage_available?` by default in all specsrs-stub-storage-availability-check
Add `:broken_storage` metadata to examples to disable this behavior only when necessary.
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r--spec/lib/gitlab/git/storage/forked_storage_check_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/git/storage/forked_storage_check_spec.rb b/spec/lib/gitlab/git/storage/forked_storage_check_spec.rb
index 12366151f44..c708b15853a 100644
--- a/spec/lib/gitlab/git/storage/forked_storage_check_spec.rb
+++ b/spec/lib/gitlab/git/storage/forked_storage_check_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe Gitlab::Git::Storage::ForkedStorageCheck, skip_database_cleaner: true do
+describe Gitlab::Git::Storage::ForkedStorageCheck, broken_storage: true, skip_database_cleaner: true do
let(:existing_path) do
existing_path = TestEnv.repos_path
FileUtils.mkdir_p(existing_path)