Sha256: d5ff82987ac5a78ae76ec201dacae5eb4e803017eec0e2b323d338dc29259b51

Contents?: true

Size: 424 Bytes

Versions: 71

Compression:

Stored size: 424 Bytes

Contents

FactoryGirl.define do
  factory :flyboy_task, class: ::Dorsale::Flyboy::Task do
    taskable { create(:flyboy_folder) }

    name        { "I-am-a-task#{Kernel.rand(1_000..9_999)}"                }
    description { "I-am-the-task-description_#{Kernel.rand(1_000..9_999)}" }
    progress    { Kernel.rand(0..99) }
    term        { Kernel.rand(0..1000).days.ago }
    reminder    { term - 30.days }
    done false
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
dorsale-2.2.14 spec/factories/flyboy_tasks.rb
dorsale-2.2.13 spec/factories/flyboy_tasks.rb
dorsale-2.2.12 spec/factories/flyboy_tasks.rb
dorsale-2.2.11 spec/factories/flyboy_tasks.rb
dorsale-2.2.10 spec/factories/flyboy_tasks.rb
dorsale-2.2.9 spec/factories/flyboy_tasks.rb
dorsale-2.2.8 spec/factories/flyboy_tasks.rb
dorsale-2.2.6 spec/factories/flyboy_tasks.rb
dorsale-2.2.5 spec/factories/flyboy_tasks.rb
dorsale-2.2.4 spec/factories/flyboy_tasks.rb
dorsale-2.2.3 spec/factories/flyboy_tasks.rb
dorsale-2.2.2 spec/factories/flyboy_tasks.rb
dorsale-2.2.1 spec/factories/flyboy_tasks.rb
dorsale-2.2.0 spec/factories/flyboy_tasks.rb
dorsale-2.1.15 spec/factories/flyboy_tasks.rb
dorsale-2.1.14 spec/factories/flyboy_tasks.rb
dorsale-2.1.13 spec/factories/flyboy_tasks.rb
dorsale-2.1.12 spec/factories/flyboy_tasks.rb
dorsale-2.1.11 spec/factories/flyboy_tasks.rb
dorsale-2.1.10 spec/factories/flyboy_tasks.rb