From 6be8f052237f1031643a7190500a0a6054889b3d Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 4 Feb 2019 22:11:50 +1300 Subject: [PATCH] Set the planted at date to the past (so we don't end up with 0%) --- spec/features/plantings/planting_a_crop_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/features/plantings/planting_a_crop_spec.rb b/spec/features/plantings/planting_a_crop_spec.rb index 576ee16f8..fab34b566 100644 --- a/spec/features/plantings/planting_a_crop_spec.rb +++ b/spec/features/plantings/planting_a_crop_spec.rb @@ -104,6 +104,7 @@ feature "Planting a crop", :js, :elasticsearch do fill_in "How many?", with: 42 select "cutting", from: "Planted from:" select "semi-shade", from: "Sun or shade?" + fill_in "When?", with: '2013-03-10' fill_in "Tell us more about it", with: "It's rad." fill_in "Finished date", with: @a_future_date click_button "Save"