diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 10:28:19 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 10:28:19 +0200 |
commit | 58347e5321e42a1ea66663f96454dbb8632a0017 (patch) | |
tree | 3bbe572ac808345c4ab73b3a20a7f12b725f61cf /spec/gitlab_keys_spec.rb | |
parent | 2b01b84f8d0cf469bdd3b031b1658db6fd8c0f52 (diff) | |
download | gitlab-shell-58347e5321e42a1ea66663f96454dbb8632a0017.tar.gz |
gitlab-init
Diffstat (limited to 'spec/gitlab_keys_spec.rb')
-rw-r--r-- | spec/gitlab_keys_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_keys_spec.rb b/spec/gitlab_keys_spec.rb index 620b7b9..9d3df34 100644 --- a/spec/gitlab_keys_spec.rb +++ b/spec/gitlab_keys_spec.rb @@ -20,7 +20,7 @@ describe GitlabKeys do end it "should receive valid cmd" do - valid_cmd = "echo 'command=\"/home/git/gitlab-shell/spec/../bin/gitlab-shell dzaporozhets\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaDAxx2E' >> /home/git/.ssh/authorized_keys" + valid_cmd = "echo 'command=\"#{ROOT_PATH}/bin/gitlab-shell dzaporozhets\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaDAxx2E' >> /home/git/.ssh/authorized_keys" @gl_keys.should_receive(:system).with(valid_cmd) @gl_keys.send :add_key end |