summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2016-08-10 10:27:17 +0200
committerJacob Vosmaer <jacob@gitlab.com>2016-08-10 10:27:17 +0200
commit2f10eec142c0e70c06289f093f4057cc96eb3d44 (patch)
tree4c61731f3af587dafd424b13b71b6fefb4f3b5a1
parentad17617db6508207168370610063089faf85c452 (diff)
downloadgitlab-shell-2f10eec142c0e70c06289f093f4057cc96eb3d44.tar.gz
Newline after "let"key-validations
-rw-r--r--spec/gitlab_keys_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/gitlab_keys_spec.rb b/spec/gitlab_keys_spec.rb
index faf7c5d..adff6b4 100644
--- a/spec/gitlab_keys_spec.rb
+++ b/spec/gitlab_keys_spec.rb
@@ -20,6 +20,7 @@ describe GitlabKeys do
describe '.key_line' do
let(:line) { %(command="#{ROOT_PATH}/bin/gitlab-shell key-741",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaDAxx2E) }
+
it 'returns the key line' do
expect(described_class.key_line('key-741', 'ssh-rsa AAAAB3NzaDAxx2E')).to eq(line)
end