set finished false on planting factory

some code+tests doesn't cope with nil
This commit is contained in:
Brenda Wallace
2018-04-21 09:22:35 +12:00
parent a2f2e24aa1
commit c2ff3790db

View File

@@ -6,7 +6,7 @@ FactoryBot.define do
planted_at { Time.zone.local(2014, 7, 30) }
quantity 33
description "This is a *really* good plant."
finished nil
finished false
finished_at nil
factory :seed_planting do