Sha256: ee941e67362e7ddf7a7b087620b4c87ed37a991508591085104886b00627fdcf
Contents?: true
Size: 273 Bytes
Versions: 37
Compression:
Stored size: 273 Bytes
Contents
class StubCertificate < OpenStruct; end Fabricator(:certificate, from: :stub_certificate) do account sha256_fingerprint do Fabricate.sequence(:sha256) { |i| Digest::SHA256.hexdigest(i.to_s) } end after_create { |cert| cert.account.certificates << cert } end
Version data entries
37 entries across 37 versions & 1 rubygems