Sha256: c7539f3a1763a23ed7ba6a8de547d9ac968a5d82123b61c0a7410aa9512d7025

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

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

    job_instance
    job_definition { job_instance.job_definition }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kuroko2-0.8.0 spec/factories/token_factory.rb
kuroko2-0.7.0 spec/factories/token_factory.rb
kuroko2-0.6.0 spec/factories/token_factory.rb