From f3cd34165969f9a18003dc6a91c824de782505b7 Mon Sep 17 00:00:00 2001 From: Brenda Date: Sat, 29 Feb 2020 13:26:36 +1300 Subject: [PATCH] add an id to the harvest modal so the test can find it --- app/views/harvests/_modal.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/harvests/_modal.html.haml b/app/views/harvests/_modal.html.haml index 9b9101b7c..63824a5b4 100644 --- a/app/views/harvests/_modal.html.haml +++ b/app/views/harvests/_modal.html.haml @@ -27,6 +27,6 @@ = plant_part_icon(plant_part.name) = plant_part -%a.btn{"data-target" => "#modelHarvestForm", "data-toggle" => "modal", href: ""} +%a.btn#modalHarvestButton{"data-target" => "#modelHarvestForm", "data-toggle" => "modal", href: ""} = harvest_icon Harvest