Sha256: 6849c5ce73e5bac09686e5100c063f693e4ac68731a5dd8c7c49639b3b42a248

Contents?: true

Size: 332 Bytes

Versions: 14

Compression:

Stored size: 332 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.current }
    finished_at { Time.current }
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kuroko2-0.4.6 spec/factories/execution_factory.rb
kuroko2-0.4.5 spec/factories/execution_factory.rb
kuroko2-0.4.4 spec/factories/execution_factory.rb
kuroko2-0.4.3 spec/factories/execution_factory.rb
kuroko2-0.4.2 spec/factories/execution_factory.rb
kuroko2-0.4.1 spec/factories/execution_factory.rb
kuroko2-0.4.0 spec/factories/execution_factory.rb
kuroko2-0.3.4 spec/factories/execution_factory.rb
kuroko2-0.3.3 spec/factories/execution_factory.rb
kuroko2-0.3.2 spec/factories/execution_factory.rb
kuroko2-0.3.1 spec/factories/execution_factory.rb
kuroko2-0.3.0 spec/factories/execution_factory.rb
kuroko2-0.2.3 spec/factories/execution_factory.rb
kuroko2-0.2.2 spec/factories/execution_factory.rb