diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 11:59:53 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 11:59:53 +0200 |
commit | 02f4cb520458ad336e67c259810359ebcdaedb59 (patch) | |
tree | 4780bb36ed4a500419406af7698bbce7947574d2 /spec/gitlab_shell_spec.rb | |
parent | 43bdc5da612af265b3c06eec26c36f7dbd98329e (diff) | |
download | gitlab-shell-02f4cb520458ad336e67c259810359ebcdaedb59.tar.gz |
gitlab net
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r-- | spec/gitlab_shell_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb index ada3e87..11815d7 100644 --- a/spec/gitlab_shell_spec.rb +++ b/spec/gitlab_shell_spec.rb @@ -5,11 +5,11 @@ describe GitlabShell do describe :initialize do before do ssh_cmd 'git-receive-pack' - ARGV[0] = 'dzaporozhets' + ARGV[0] = 'key-56' @shell = GitlabShell.new end - it { @shell.username.should == 'dzaporozhets' } + it { @shell.key_id.should == 'key-56' } it { @shell.repos_path.should == "/home/git/repositories" } end @@ -62,7 +62,7 @@ describe GitlabShell do end def stubbed_shell - ARGV[0] = 'dzaporozhets' + ARGV[0] = 'key-56' @shell = GitlabShell.new @shell.stub(validate_access: true) @shell.stub(process_cmd: true) |