From 64d51ec4bd63d5ea269700da98df74be5a8221ab Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Mon, 14 Oct 2024 00:27:50 +1030 Subject: [PATCH] Update spec/features/plantings/planting_a_crop_spec.rb --- spec/features/plantings/planting_a_crop_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/plantings/planting_a_crop_spec.rb b/spec/features/plantings/planting_a_crop_spec.rb index f1c4bcd82..0274d94da 100644 --- a/spec/features/plantings/planting_a_crop_spec.rb +++ b/spec/features/plantings/planting_a_crop_spec.rb @@ -63,7 +63,7 @@ describe "Planting a crop", :js, :search do visit new_planting_path @a_past_date = 15.days.ago.to_date - @right_now = Time.zone.today + @right_now = Time.zone.today.to_date @a_future_date = 1.year.from_now.to_time end