summaryrefslogtreecommitdiff
path: root/qa/spec/runtime/key/ed25519_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/runtime/key/ed25519_spec.rb')
-rw-r--r--qa/spec/runtime/key/ed25519_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/spec/runtime/key/ed25519_spec.rb b/qa/spec/runtime/key/ed25519_spec.rb
new file mode 100644
index 00000000000..4844e7affdf
--- /dev/null
+++ b/qa/spec/runtime/key/ed25519_spec.rb
@@ -0,0 +1,9 @@
+describe QA::Runtime::Key::ED25519 do
+ describe '#public_key' do
+ subject { described_class.new.public_key }
+
+ it 'generates a public ED25519 key' do
+ expect(subject).to match(%r{\Assh\-ed25519 AAAA[0-9A-Za-z+/]})
+ end
+ end
+end