Sha256: 5f826dbc95bbccf550007ad5cde37845be06a6a138db86adff0e633883586da5

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

image_request = Tasks::Taskables::Image::Request.create! text: "Upload a picture"
task          = Tasks::Task.create! taskable: image_request

url_request   = Tasks::Taskables::URL::Request.create! text: "Specify a URL"
task          = Tasks::Task.create! taskable: url_request

text_request  = Tasks::Taskables::Text::Request.create! text: "Write something"
task          = Tasks::Task.create! taskable: text_request

question      = Tasks::Taskables::Question.create! text: "Choose something"
option        = Tasks::Taskables::Question::Option.create! question: question, text: "One option"
option        = Tasks::Taskables::Question::Option.create! question: question, text: "Another option"
task          = Tasks::Task.create! taskable: question

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 lib/tasks/seeds.rb