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.1.9 spec/factories/flyboy_tasks.rb
dorsale-2.1.8 spec/factories/flyboy_tasks.rb
dorsale-2.1.7 spec/factories/flyboy_tasks.rb
dorsale-2.1.6 spec/factories/flyboy_tasks.rb
dorsale-2.1.5 spec/factories/flyboy_tasks.rb
dorsale-2.1.4 spec/factories/flyboy_tasks.rb
dorsale-2.1.3 spec/factories/flyboy_tasks.rb
dorsale-2.1.2 spec/factories/flyboy_tasks.rb
dorsale-2.1.1 spec/factories/flyboy_tasks.rb
dorsale-2.1.0 spec/factories/flyboy_tasks.rb
dorsale-2.0.1 spec/factories/flyboy_tasks.rb