diff options
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) |