diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 11:07:04 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 11:07:04 +0200 |
commit | f3cf4a8bb49116026bd78a429050612c2e39c100 (patch) | |
tree | 58ccb775c91dac2c74ecafcff1b254814e5e8645 /spec/gitlab_keys_spec.rb | |
parent | 2241d7674568423d6f57fb565b3ff53167bd5ca8 (diff) | |
download | gitlab-shell-f3cf4a8bb49116026bd78a429050612c2e39c100.tar.gz |
Fix key remove
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 322c05e..1c557aa 100644 --- a/spec/gitlab_keys_spec.rb +++ b/spec/gitlab_keys_spec.rb @@ -33,7 +33,7 @@ describe GitlabKeys do end it "should receive valid cmd" do - valid_cmd = "sed '/key-741/d' /home/git/.ssh/authorized_keys" + valid_cmd = "sed -i '/key-741/d' /home/git/.ssh/authorized_keys" @gl_keys.should_receive(:system).with(valid_cmd) @gl_keys.send :rm_key end |