Sha256: cf678e2d3f3559d2074df6b9bf04630f370677aa9d1e023468313d475f7cd2ed

Contents?: true

Size: 234 Bytes

Versions: 16

Compression:

Stored size: 234 Bytes

Contents

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

    job_definition { job_instance.job_definition if job_instance }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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