summaryrefslogtreecommitdiff
path: root/qa/spec/runtime/rsa_key.rb
blob: ff277b9077bf5325f533c4f81c5c4754bd56e46b (plain)
1
2
3
4
5
6
7
8
9
describe QA::Runtime::RSAKey do
  describe '#public_key' do
    subject { described_class.new.public_key }

    it 'generates a public RSA key' do
      expect(subject).to match(/\Assh\-rsa AAAA[0-9A-Za-z+\/]+={0,3}\z/)
    end
  end
end