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

distribution_key.rb « debian « packages « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6bd457c50d0a5dbec55e6f2c7e17d109306d4237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

FactoryBot.define do
  factory :debian_project_distribution_key, class: 'Packages::Debian::ProjectDistributionKey' do
    distribution { association(:debian_project_distribution) }

    private_key { '-----BEGIN PGP PRIVATE KEY BLOCK-----' }
    passphrase { '12345' }
    public_key { '-----BEGIN PGP PUBLIC KEY BLOCK-----' }
    fingerprint { '12345' }

    factory :debian_group_distribution_key, class: 'Packages::Debian::GroupDistributionKey' do
      distribution { association(:debian_group_distribution) }
    end
  end
end