From 479b2b4870d3d7878d85321a421ed5d8ad4b6b54 Mon Sep 17 00:00:00 2001 From: Alexandria Date: Tue, 25 Jan 2022 14:57:40 +0000 Subject: [PATCH] Add tests --- .../admin/sites_integration_test.rb | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/test/integration/admin/sites_integration_test.rb b/test/integration/admin/sites_integration_test.rb index 17596030d..ae8065310 100644 --- a/test/integration/admin/sites_integration_test.rb +++ b/test/integration/admin/sites_integration_test.rb @@ -35,10 +35,17 @@ class AdminSitesIntegrationTest < ActionDispatch::IntegrationTest assert_select 'label', 'Hero image' assert_select 'label', 'Hero image credit' - # See all neighbourhoods - assert_select '#site_neighbourhood_ids' do - assert_select 'option', @number_of_neighbourhoods - end + # See just neighbourhoods they admin + # In short: + # - Find the cocoon template for the Secondary Neighbourhoods