debian-mirror-gitlab/qa/spec/runtime/key/ed25519_spec.rb
2021-01-30 21:13:32 +05:30

12 lines
281 B
Ruby

# frozen_string_literal: true
RSpec.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