diff --git a/spec/features/officing/residence_spec.rb b/spec/features/officing/residence_spec.rb index a55fb8b3e..c956bc31d 100644 --- a/spec/features/officing/residence_spec.rb +++ b/spec/features/officing/residence_spec.rb @@ -106,7 +106,9 @@ feature "Residence", :with_frozen_time do # set_officing_booth(booth) visit new_officing_residence_path - expect(page).to have_content "You are officing booth #{booth.name}" + within("#officing-booth") do + expect(page).to have_content "You are officing the booth located at #{booth.location}." + end visit new_officing_residence_path officing_verify_residence