Sha256: c181e41f9ae2de3ff58440509eef6180fe60c0bbb1eaa1ba273b547f98cbc7e4

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

FactoryGirl.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.now }
    finished_at { Time.now }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kuroko2-0.2.1 spec/factories/execution_factory.rb
kuroko2-0.2.0 spec/factories/execution_factory.rb