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

ed25519_spec.rb « key « runtime « spec « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e63c7f5deae0c68a259ab0a2fc0b9c09c5704646 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

RSpec.describe QA::Runtime::Key::ED25519 do
  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