summaryrefslogtreecommitdiff
path: root/spec/gitlab_shell_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 11:59:53 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 11:59:53 +0200
commit02f4cb520458ad336e67c259810359ebcdaedb59 (patch)
tree4780bb36ed4a500419406af7698bbce7947574d2 /spec/gitlab_shell_spec.rb
parent43bdc5da612af265b3c06eec26c36f7dbd98329e (diff)
downloadgitlab-shell-02f4cb520458ad336e67c259810359ebcdaedb59.tar.gz
gitlab net
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r--spec/gitlab_shell_spec.rb6
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)