spec/factories/flyboy_tasks.rb in flyboy-1.0.7 vs spec/factories/flyboy_tasks.rb in flyboy-1.1.0

- old
+ new

@@ -1,9 +1,9 @@ FactoryGirl.define do factory :flyboy_task, class: Flyboy::Task do - goal { FactoryGirl.create(:flyboy_goal) } + taskable { create(:flyboy_goal) } - title { "I-am-a-task#{Kernel.rand(0..9999)}" } + name { "I-am-a-task#{Kernel.rand(0..9999)}" } description { "I-am-the-task-description_#{Kernel.rand(0..9999)}" } reminder "2013-08-27" term "2013-08-27" done false end