2019-07-31 22:56:46 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
RSpec.describe QA::Runtime::Key::ED25519 do
|
2018-10-15 14:42:47 +05:30
|
|
|
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
|