Skip to content

Commit

Permalink
ServiceNow: update Ask eJournal destination (#1283). (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 authored Jul 13, 2022
1 parent 91d5e51 commit a32a86d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/static/contact/_assistance.html.erb
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') %>
12 changes: 12 additions & 0 deletions spec/system/view_help_page.rb
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

0 comments on commit a32a86d

Please sign in to comment.