Sha256: 6e54fcd492017071908a5c518eb89122534f161000dc039f6af6802669bbfd68

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

FactoryGirl.define do
  factory :execution_history, class: Kuroko2::ExecutionHistory do
    hostname 'rspec'
    worker_id 1
    queue '@default'

    job_definition { create(:job_definition) }
    job_instance { create(:job_instance, job_definition: job_definition) }

    shell 'echo $NAME'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kuroko2-0.4.6 spec/factories/execution_history_factory.rb
kuroko2-0.4.5 spec/factories/execution_history_factory.rb