Sha256: 6376c8d3c63a5569a0615edb0633c5d58e028792fdc258da126f4e35cdc9f9d2

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

FactoryBot.define do
  factory :token, class: Kuroko2::Token do
    uuid { SecureRandom.uuid }
    path { '/' }
    script { 'execute:' }
    context { Hash.new }

    job_definition { job_instance.job_definition if job_instance }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kuroko2-0.5.2 spec/factories/token_factory.rb