diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-03-09 11:50:21 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-03-29 19:40:32 +0800 |
commit | 211b2f390c3311f5880b3de6a2fb16f7865ebaae (patch) | |
tree | 4e087ba5278183dfa128728a33931f3d5334b551 /qa/spec/runtime/key/dsa_spec.rb | |
parent | 9a538b9eebd6aed362c6ed86445d96c8e06ffdf2 (diff) | |
download | gitlab-ce-211b2f390c3311f5880b3de6a2fb16f7865ebaae.tar.gz |
Implement other ssh keys and use ssh-keygen instead
Diffstat (limited to 'qa/spec/runtime/key/dsa_spec.rb')
-rw-r--r-- | qa/spec/runtime/key/dsa_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/spec/runtime/key/dsa_spec.rb b/qa/spec/runtime/key/dsa_spec.rb new file mode 100644 index 00000000000..600e7ce4ee6 --- /dev/null +++ b/qa/spec/runtime/key/dsa_spec.rb @@ -0,0 +1,9 @@ +describe QA::Runtime::Key::DSA do + describe '#public_key' do + subject { described_class.new.public_key } + + it 'generates a public DSA key' do + expect(subject).to match(%r{\Assh\-dss AAAA[0-9A-Za-z+/]+={0,3}}) + end + end +end |