From 73d5e07c9d0b5a52cfc90bc4591d609ae69eeb4f Mon Sep 17 00:00:00 2001 From: Jason Corum Date: Tue, 5 Jan 2021 09:48:29 -0800 Subject: [PATCH] Reverts Iowa PBS in spec files --- spec/features/catalog_spec.rb | 8 ++++---- spec/fixtures/pbcore/clean-bad-language.xml | 4 ++-- .../pbcore/clean-every-title-is-episode-number.xml | 12 ++++++------ spec/fixtures/pbcore/clean-no-relation-type.xml | 12 ++++++------ spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml | 2 +- .../dirty-yes-fix-every-title-is-episode-number.xml | 4 ++-- .../pbcore/dirty-yes-fix-no-relation-type.xml | 8 ++++---- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/spec/features/catalog_spec.rb b/spec/features/catalog_spec.rb index 5d10e84880..1b14a49cd0 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 PBS (IA)') + click_link('Iowa Public Television (IA)') # TODO: check count when IP set in request. - 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_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_css('a', text: 'District of Columbia') click_link('District of Columbia') - 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) + 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) # all(:css, '.constraints-container a.remove')[1].click # remove 'WGBH OR IPTV' # TODO: check count when IP set in request. @@ -523,7 +523,7 @@ def expect_all_the_text(fixture_name) visit 'catalog/cpb-aacip_111-21ghx7d6' ENV.delete('RAILS_TEST_IP_ADDRESS') expect_all_the_text('clean-exhibit.xml') - expect(page).to have_text('only available at WGBH and the Library of Congress. '), missing_page_text_custom_error('only available at WGBH and the Library of Congress. ', page.current_path) + expect(page).to have_text('only available at GBH and the Library of Congress. '), missing_page_text_custom_error('only available at GBH and the Library of Congress. ', page.current_path) expect_no_media end diff --git a/spec/fixtures/pbcore/clean-bad-language.xml b/spec/fixtures/pbcore/clean-bad-language.xml index 1e28b0227e..524b4c637e 100644 --- a/spec/fixtures/pbcore/clean-bad-language.xml +++ b/spec/fixtures/pbcore/clean-bad-language.xml @@ -27,8 +27,8 @@ Original footage 00:30:00 Original: footage - Iowa PBS + Iowa Public Television 2013-06-02 06:31:56 - Iowa PBS + Iowa Public Television \ No newline at end of file diff --git a/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml b/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml index 01895fc243..e7b4d436b6 100644 --- a/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml +++ b/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml @@ -15,14 +15,14 @@ 32E-COL4/1 1988-05-12 3/4 inch videotape: U-matic - Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131 + Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131 Moving Image Dub 00:28:30 Ch 1 MOS; Ch 2 Full Mix eng N - Iowa PBS + Iowa Public Television AACIP Record Nomination Status @@ -67,7 +67,7 @@ 00:29:04 OpenCube MXFTk Advanced 2.4.6.0.1 - Iowa PBS + Iowa Public Television cpb-aacip-37-16c2fsnr.h264.mov @@ -112,7 +112,7 @@ eng Apple QuickTime - Iowa PBS + Iowa Public Television cpb-aacip-37-16c2fsnr.mpeg2.mxf @@ -155,9 +155,9 @@ EIA-708 OC OCTk 2.4 - Iowa PBS + Iowa Public Television 2013-06-02 06:33:17 - Iowa PBS + Iowa Public Television Online Reading Room \ No newline at end of file diff --git a/spec/fixtures/pbcore/clean-no-relation-type.xml b/spec/fixtures/pbcore/clean-no-relation-type.xml index 63b49c2209..3bcccbf67e 100644 --- a/spec/fixtures/pbcore/clean-no-relation-type.xml +++ b/spec/fixtures/pbcore/clean-no-relation-type.xml @@ -17,13 +17,13 @@ Adult TV-G - Iowa PBS + Iowa Public Television Undefined - iptvtst_19821225_108 + iptvtst_19821225_108 3/4 inch videotape: U-matic 32-A-4 (IPTV ProTrack) Moving Image @@ -31,15 +31,15 @@ 00:28:50 eng 12-25-1982 - Iowa PBS + Iowa Public Television iptvtst_19821225_108_DV25 fmt/5 - Iowa PBS + Iowa Public Television Moving Image eng - Iowa PBS + Iowa Public Television AACIP Record Nomination Status @@ -49,5 +49,5 @@ 2014-07-31 19:53:13 - Iowa PBS + Iowa Public Television \ No newline at end of file diff --git a/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml b/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml index 3502145a9d..5eba31ae5d 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml @@ -26,5 +26,5 @@ Original: footage 2013-06-02 06:31:56 - Iowa PBS + Iowa Public Television \ No newline at end of file diff --git a/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml b/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml index 9a755f93ac..9492c629d9 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml @@ -15,7 +15,7 @@ 32E-COL4/1 1988-05-12 3/4 inch videotape: U-matic - Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131 + Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131 Moving Image Dub 00:28:30 @@ -154,6 +154,6 @@ OC OCTk 2.4 2013-06-02 06:33:17 - Iowa PBS + Iowa Public Television Online Reading Room diff --git a/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml b/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml index 782a952322..8def693f61 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml @@ -21,13 +21,13 @@ Adult TV-G - Iowa PBS + Iowa Public Television Undefined - iptvtst_19821225_108 + iptvtst_19821225_108 3/4 inch videotape: U-matic 32-A-4 (IPTV ProTrack) Moving Image @@ -39,7 +39,7 @@ iptvtst_19821225_108_DV25 fmt/5 - Iowa PBS + Iowa Public Television Moving Image eng @@ -51,5 +51,5 @@ 2014-07-31 19:53:13 - Iowa PBS + Iowa Public Television \ No newline at end of file