Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 1770.md #2606

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/organizations/md/1770.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Short name

Iowa Public Television
Iowa PBS

## State

Expand Down
6 changes: 3 additions & 3 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 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.
Expand Down