Add an test for QA::Runtime::RSAKey
This commit is contained in:
		
							parent
							
								
									cc02eeff6e
								
							
						
					
					
						commit
						a17f4c23b7
					
				|  | @ -0,0 +1,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 | ||||
		Loading…
	
		Reference in New Issue