Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rsa_key.rb « runtime « spec « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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