Sha256: 12d724f4172ef2a7fc93f9127051a8371d39bfca748fa29546d3d208f6ee8244

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

FactoryBot.define do
  factory :execution, class: Kuroko2::Execution do
    shell { 'echo $NAME' }
    exit_status { 0 }

    job_definition { token.job_definition if token }
    job_instance { token.job_instance if token }
    context { token.context if token }

    started_at { Time.current }
    finished_at { Time.current }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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