summaryrefslogtreecommitdiff
path: root/qa/spec/runtime/key/ed25519_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-27 10:19:40 +0100
committerPhil Hughes <me@iamphill.com>2018-04-27 10:19:40 +0100
commit6a651eb721dc421297c5f52c937d25faa139bc13 (patch)
treee49cd8968864bf95f23ba7dbea0be4f406483c92 /qa/spec/runtime/key/ed25519_spec.rb
parent26c241d955ec0528b202792b0cb1848e9fe07691 (diff)
parenta8cb4322a07c2e167d866ed6d106f63c80c3343c (diff)
downloadgitlab-ce-6a651eb721dc421297c5f52c937d25faa139bc13.tar.gz
Merge branch 'master' into 44846-improve-web-ide-left-panel-and-modes
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