diff --git a/spec/features/harvests/harvesting_a_crop_spec.rb b/spec/features/harvests/harvesting_a_crop_spec.rb index 6316b7d70..94ea55390 100644 --- a/spec/features/harvests/harvesting_a_crop_spec.rb +++ b/spec/features/harvests/harvesting_a_crop_spec.rb @@ -63,6 +63,7 @@ feature "Harvesting a crop", :js do visit crop_path(maize) click_link "Harvest this" within "form#new_harvest" do + select "whole plant", from: '#harvest_plant_part_id' expect(page).to have_selector "input[value='maize']" click_button "Save" end