Skip to content

Commit

Permalink
Reverts Iowa PBS in spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncorum committed Jan 5, 2021
1 parent d220452 commit 73d5e07
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions spec/features/catalog_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/pbcore/clean-bad-language.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<instantiationGenerations>Original footage</instantiationGenerations>
<instantiationDuration>00:30:00</instantiationDuration>
<instantiationAnnotation annotationType='Alternate Generation'>Original: footage</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa PBS</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa Public Television</instantiationAnnotation>
</pbcoreInstantiation>
<pbcoreAnnotation annotationType='last_modified'>2013-06-02 06:31:56</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa PBS</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa Public Television</pbcoreAnnotation>
</pbcoreDescriptionDocument>
12 changes: 6 additions & 6 deletions spec/fixtures/pbcore/clean-every-title-is-episode-number.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
<instantiationIdentifier source='Shelf Number'>32E-COL4/1</instantiationIdentifier>
<instantiationDate dateType='created'>1988-05-12</instantiationDate>
<instantiationPhysical>3/4 inch videotape: U-matic</instantiationPhysical>
<instantiationLocation>Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131</instantiationLocation>
<instantiationLocation>Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131</instantiationLocation>
<instantiationMediaType>Moving Image</instantiationMediaType>
<instantiationGenerations>Dub</instantiationGenerations>
<instantiationDuration>00:28:30</instantiationDuration>
<instantiationChannelConfiguration>Ch 1 MOS; Ch 2 Full Mix</instantiationChannelConfiguration>
<instantiationLanguage>eng</instantiationLanguage>
<instantiationAlternativeModes>N</instantiationAlternativeModes>
<instantiationAnnotation annotationType="organization">Iowa PBS</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa Public Television</instantiationAnnotation>
<instantiationExtension>
<extensionWrap>
<extensionElement>AACIP Record Nomination Status</extensionElement>
Expand Down Expand Up @@ -67,7 +67,7 @@
<essenceTrackDuration>00:29:04</essenceTrackDuration>
</instantiationEssenceTrack>
<instantiationAnnotation annotationType='encoded by'>OpenCube MXFTk Advanced 2.4.6.0.1</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa PBS</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa Public Television</instantiationAnnotation>
</pbcoreInstantiation>
<pbcoreInstantiation>
<instantiationIdentifier source='mediainfo'>cpb-aacip-37-16c2fsnr.h264.mov</instantiationIdentifier>
Expand Down Expand Up @@ -112,7 +112,7 @@
<essenceTrackLanguage>eng</essenceTrackLanguage>
</instantiationEssenceTrack>
<instantiationAnnotation annotationType='encoded by'>Apple QuickTime</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa PBS</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa Public Television</instantiationAnnotation>
</pbcoreInstantiation>
<pbcoreInstantiation>
<instantiationIdentifier source='mediainfo'>cpb-aacip-37-16c2fsnr.mpeg2.mxf</instantiationIdentifier>
Expand Down Expand Up @@ -155,9 +155,9 @@
<essenceTrackEncoding source='mediainfo'>EIA-708</essenceTrackEncoding>
</instantiationEssenceTrack>
<instantiationAnnotation annotationType='encoded by'>OC OCTk 2.4</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa PBS</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa Public Television</instantiationAnnotation>
</pbcoreInstantiation>
<pbcoreAnnotation annotationType='last_modified'>2013-06-02 06:33:17</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa PBS</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa Public Television</pbcoreAnnotation>
<pbcoreAnnotation annotationType='Level of User Access'>Online Reading Room</pbcoreAnnotation>
</pbcoreDescriptionDocument>
12 changes: 6 additions & 6 deletions spec/fixtures/pbcore/clean-no-relation-type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@
<pbcoreAudienceLevel>Adult</pbcoreAudienceLevel>
<pbcoreAudienceRating>TV-G</pbcoreAudienceRating>
<pbcoreContributor>
<contributor>Iowa PBS</contributor>
<contributor>Iowa Public Television</contributor>
</pbcoreContributor>
<pbcoreRightsSummary>
<rightsSummary>Undefined</rightsSummary>
</pbcoreRightsSummary>
<pbcoreInstantiation>
<instantiationIdentifier source='Iowa PBS'>iptvtst_19821225_108</instantiationIdentifier>
<instantiationIdentifier source='Iowa Public Television'>iptvtst_19821225_108</instantiationIdentifier>
<instantiationPhysical>3/4 inch videotape: U-matic</instantiationPhysical>
<instantiationLocation>32-A-4 (IPTV ProTrack)</instantiationLocation>
<instantiationMediaType>Moving Image</instantiationMediaType>
<instantiationGenerations>Moving image/Master</instantiationGenerations>
<instantiationDuration>00:28:50</instantiationDuration>
<instantiationLanguage>eng</instantiationLanguage>
<instantiationAnnotation annotationType='issued'>12-25-1982</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa PBS</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa Public Television</instantiationAnnotation>
</pbcoreInstantiation>
<pbcoreInstantiation>
<instantiationIdentifier source='American Archive Pilot Project'>iptvtst_19821225_108_DV25</instantiationIdentifier>
<instantiationDigital>fmt/5</instantiationDigital>
<instantiationLocation>Iowa PBS</instantiationLocation>
<instantiationLocation>Iowa Public Television</instantiationLocation>
<instantiationMediaType>Moving Image</instantiationMediaType>
<instantiationLanguage>eng</instantiationLanguage>
<instantiationAnnotation annotationType="organization">Iowa PBS</instantiationAnnotation>
<instantiationAnnotation annotationType="organization">Iowa Public Television</instantiationAnnotation>
<instantiationExtension>
<extensionWrap>
<extensionElement>AACIP Record Nomination Status</extensionElement>
Expand All @@ -49,5 +49,5 @@
</instantiationExtension>
</pbcoreInstantiation>
<pbcoreAnnotation annotationType='last_modified'>2014-07-31 19:53:13</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa PBS</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa Public Television</pbcoreAnnotation>
</pbcoreDescriptionDocument>
2 changes: 1 addition & 1 deletion spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
<instantiationAnnotation annotationType="Alternate Generation">Original: footage</instantiationAnnotation>
</pbcoreInstantiation>
<pbcoreAnnotation annotationType="last_modified">2013-06-02 06:31:56</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa PBS</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa Public Television</pbcoreAnnotation>
</pbcoreDescriptionDocument>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<instantiationIdentifier source="Shelf Number">32E-COL4/1</instantiationIdentifier>
<instantiationDate dateType="created">1988-05-12</instantiationDate>
<instantiationPhysical>3/4 inch videotape: U-matic</instantiationPhysical>
<instantiationLocation>Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131</instantiationLocation>
<instantiationLocation>Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131</instantiationLocation>
<instantiationMediaType>Moving Image</instantiationMediaType>
<instantiationGenerations>Dub</instantiationGenerations>
<instantiationDuration>00:28:30</instantiationDuration>
Expand Down Expand Up @@ -154,6 +154,6 @@
<instantiationAnnotation annotationType="encoded by">OC OCTk 2.4</instantiationAnnotation>
</pbcoreInstantiation>
<pbcoreAnnotation annotationType="last_modified">2013-06-02 06:33:17</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa PBS</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa Public Television</pbcoreAnnotation>
<pbcoreAnnotation annotationType="Level of User Access">Online Reading Room</pbcoreAnnotation>
</pbcoreDescriptionDocument>
8 changes: 4 additions & 4 deletions spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<pbcoreAudienceLevel>Adult</pbcoreAudienceLevel>
<pbcoreAudienceRating>TV-G</pbcoreAudienceRating>
<pbcoreContributor>
<contributor>Iowa PBS</contributor>
<contributor>Iowa Public Television</contributor>
</pbcoreContributor>
<pbcoreRightsSummary>
<rightsSummary>Undefined</rightsSummary>
</pbcoreRightsSummary>
<pbcoreInstantiation>
<instantiationIdentifier source="Iowa PBS">iptvtst_19821225_108</instantiationIdentifier>
<instantiationIdentifier source="Iowa Public Television">iptvtst_19821225_108</instantiationIdentifier>
<instantiationPhysical>3/4 inch videotape: U-matic</instantiationPhysical>
<instantiationLocation>32-A-4 (IPTV ProTrack)</instantiationLocation>
<instantiationMediaType>Moving Image</instantiationMediaType>
Expand All @@ -39,7 +39,7 @@
<pbcoreInstantiation>
<instantiationIdentifier source="American Archive Pilot Project">iptvtst_19821225_108_DV25</instantiationIdentifier>
<instantiationDigital>fmt/5</instantiationDigital>
<instantiationLocation>Iowa PBS</instantiationLocation>
<instantiationLocation>Iowa Public Television</instantiationLocation>
<instantiationMediaType>Moving Image</instantiationMediaType>
<instantiationLanguage>eng</instantiationLanguage>
<instantiationExtension>
Expand All @@ -51,5 +51,5 @@
</instantiationExtension>
</pbcoreInstantiation>
<pbcoreAnnotation annotationType="last_modified">2014-07-31 19:53:13</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa PBS</pbcoreAnnotation>
<pbcoreAnnotation annotationType="organization">Iowa Public Television</pbcoreAnnotation>
</pbcoreDescriptionDocument>

0 comments on commit 73d5e07

Please sign in to comment.