diff options
author | James Lopez <james@jameslopez.es> | 2016-03-16 10:50:37 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-03-16 10:50:37 +0100 |
commit | 8ec968376b73ed634939220d7b0a3e3f2c1f9b72 (patch) | |
tree | 59f86884a75c167c25db805fca6f1ad17127dd1f /spec | |
parent | 22b36aec8b8e0a49b4b33a11ac5f972e50cbd000 (diff) | |
download | gitlab-shell-8ec968376b73ed634939220d7b0a3e3f2c1f9b72.tar.gz |
get git annex to work when using custom SSH port
Diffstat (limited to 'spec')
-rw-r--r-- | spec/gitlab_shell_spec.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb index 86d72f4..c03632e 100644 --- a/spec/gitlab_shell_spec.rb +++ b/spec/gitlab_shell_spec.rb @@ -104,6 +104,14 @@ describe GitlabShell do File.exists?(File.join(tmp_repos_path, 'dzaporozhets/gitlab.git/annex')).should be_false end end + + context 'git annex SSH custom port issue' do + let(:ssh_args) { %W(git-annex-shell inannex /dzaporozhets/gitlab.git SHA256E) } + + it 'should init git-annex' do + File.exists?(File.join(tmp_repos_path, 'dzaporozhets/gitlab.git/annex')).should be_true + end + end end end @@ -171,7 +179,7 @@ describe GitlabShell do end end - context 'no command' do + context 'no command' do after { subject.exec(nil) } it "should call api.discover" do |