Commit 918068df authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix keys tests

parent d55b0f81
...@@ -33,7 +33,7 @@ describe GitlabKeys do ...@@ -33,7 +33,7 @@ describe GitlabKeys do
end end
it "should receive valid cmd" do it "should receive valid cmd" do
valid_cmd = "sed -i '/key-741/d' #{GitlabConfig.new.auth_file}" valid_cmd = "sed -i '/shell key-741/d' #{GitlabConfig.new.auth_file}"
@gl_keys.should_receive(:system).with(valid_cmd) @gl_keys.should_receive(:system).with(valid_cmd)
@gl_keys.send :rm_key @gl_keys.send :rm_key
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment