summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2016-06-14 12:27:33 -0400
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-06-14 12:32:51 -0400
commit98c5e6295b201eeaa760d104f9b43e237f1dbd49 (patch)
tree9769f7903dabe8b5f8745ced9eb9f1bcf6d7fee4 /spec/lib
parentc6cc7680e7da89c145b7e2075266791a3f594eec (diff)
downloadgitlab-ce-shards-test.tar.gz
Refactor repository paths handling to allow multiple git mount pointsshards-test
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/backend/shell_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/gitlab/backend/shell_spec.rb b/spec/lib/gitlab/backend/shell_spec.rb
index fd869f48b5c..e15f13f985b 100644
--- a/spec/lib/gitlab/backend/shell_spec.rb
+++ b/spec/lib/gitlab/backend/shell_spec.rb
@@ -13,6 +13,11 @@ describe Gitlab::Shell, lib: true do
it { is_expected.to respond_to :add_repository }
it { is_expected.to respond_to :remove_repository }
it { is_expected.to respond_to :fork_repository }
+ it { is_expected.to respond_to :gc }
+ it { is_expected.to respond_to :add_namespace }
+ it { is_expected.to respond_to :rm_namespace }
+ it { is_expected.to respond_to :mv_namespace }
+ it { is_expected.to respond_to :exists? }
it { expect(gitlab_shell.url_to_repo('diaspora')).to eq(Gitlab.config.gitlab_shell.ssh_path_prefix + "diaspora.git") }