summaryrefslogtreecommitdiff
path: root/spec/gitlab_keys_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/gitlab_keys_spec.rb')
-rw-r--r--spec/gitlab_keys_spec.rb2
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