From 0acec655e2fcdded2ea808c381df80a92d01153e Mon Sep 17 00:00:00 2001 From: rgarcia Date: Wed, 15 Feb 2017 18:26:37 +0100 Subject: [PATCH] fixes specs --- spec/features/officing/residence_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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