diff --git a/spec/features/admin/meeting_spec.rb b/spec/features/admin/meeting_spec.rb index a9a84a14c..2e98ada35 100644 --- a/spec/features/admin/meeting_spec.rb +++ b/spec/features/admin/meeting_spec.rb @@ -58,8 +58,8 @@ click_on 'Update' expect(page).to have_content('You have succesfully updated the details of this meeting') - expect(page).to have_css("span[title='#{permissions.members.last.full_name}']") - expect(page).to_not have_css("span[title='#{permissions.members.first.full_name}']") + expect(page).to have_css(%(span[title="#{permissions.members.last.full_name}"])) + expect(page).to_not have_css(%(span[title="#{permissions.members.first.full_name}"])) end end