From 310a81f24fd0ce35150e86851d0788da4753f883 Mon Sep 17 00:00:00 2001 From: mivillesvik <38049679+mivillesvik@users.noreply.github.com> Date: Fri, 2 Jun 2023 14:50:14 -0400 Subject: [PATCH 1/2] Update 1770.md updating short name per Marci Behm of Iowa PBS' request --- app/views/organizations/md/1770.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/organizations/md/1770.md b/app/views/organizations/md/1770.md index 943d40e747..354b117200 100644 --- a/app/views/organizations/md/1770.md +++ b/app/views/organizations/md/1770.md @@ -2,7 +2,7 @@ ## Short name -Iowa Public Television +Iowa PBS ## State From b2b4cca8be81a33373344c61824c2dcb7e873d1b Mon Sep 17 00:00:00 2001 From: foglabs Date: Mon, 14 Aug 2023 14:43:47 -0400 Subject: [PATCH 2/2] 'change expected org name in catalog spec' --- spec/features/catalog_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/catalog_spec.rb b/spec/features/catalog_spec.rb index 1263ef9a9d..ab3ba1ee85 100644 --- a/spec/features/catalog_spec.rb +++ b/spec/features/catalog_spec.rb @@ -245,13 +245,13 @@ def expect_no_transcript expect_count(5, page.text) expect(page).to have_text('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) '), missing_page_text_custom_error('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) ', page.current_path) - click_link('Iowa Public Television (IA)') + click_link('Iowa PBS (IA)') # TODO: check count when IP set in request. - expect(page).to have_text('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)', page.current_path) + expect(page).to have_text('Contributing Organizations: WGBH (MA) OR Iowa PBS (IA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR Iowa PBS (IA)', page.current_path) expect(page).to have_css('a', text: 'District of Columbia') click_link('District of Columbia') - expect(page).to have_text('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path) + expect(page).to have_text('WGBH (MA) OR Iowa PBS (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR Iowa PBS (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path) # all(:css, '.constraints-container a.remove')[1].click # remove 'WGBH OR IPTV' # TODO: check count when IP set in request.