-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<h2 class="static-blurb-header contacts-blurb-header">Emory Libraries Service Contacts</h2> | ||
<%= render 'static/contact/assistance_link', link: 'https://libraries.emory.edu/services/purchase-request/index.html', link_text: t('static.contact.links.purchase') %> | ||
<%= render 'static/contact/assistance_link', link: 'https://emory.libanswers.com/', link_text: t('static.contact.links.ask_lib') %> | ||
<%= render 'static/contact/assistance_link', link: 'https://libraries.emory.edu/tools/report-issues-with-ejournals.html', link_text: t('static.contact.links.ask_ejournals') %> | ||
<%= render 'static/contact/assistance_link', | ||
link: "https://emory.libwizard.com/f/blacklight?refer_url=#{request.original_url}", | ||
link_text: t('static.contact.links.ask_ejournals') %> | ||
<%= render 'static/contact/assistance_link', link: 'https://libraries.emory.edu/contact/subject-librarian-directory.html', link_text: t('static.contact.links.find_sub_lib') %> | ||
<%= render 'static/contact/assistance_link', link: 'https://libraries.emory.edu/services/access-course-reserves.html', link_text: t('static.contact.links.course_reserves') %> | ||
<%= render 'static/contact/assistance_link', link: 'https://libraries.emory.edu/services/submit-ill-request.html', link_text: t('static.contact.links.ill_request') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# frozen_string_literal: true | ||
require 'rails_helper' | ||
|
||
RSpec.describe "View the help page", type: :system do | ||
it 'has the correct ask ejournal link' do | ||
visit help_path | ||
|
||
expect( | ||
find('.static-blurb-link', text: 'Ask eJournals')[:href] | ||
).to match(/https\W+emory.libwizard.com.f.blacklight.refer.url./) | ||
end | ||
end |