0be52bf32f
This will be default in Ruby 3, so will be good to apply in QA ahead of time to be consistent.
11 lines
270 B
Ruby
11 lines
270 B
Ruby
# frozen_string_literal: true
|
|
|
|
describe QA::Runtime::Key::RSA do
|
|
describe '#public_key' do
|
|
subject { described_class.new.public_key }
|
|
|
|
it 'generates a public RSA key' do
|
|
expect(subject).to match(%r{\Assh\-rsa AAAA[0-9A-Za-z+/]+={0,3}})
|
|
end
|
|
end
|
|
end
|