diff options
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 |