Skip to content

Commit

Permalink
Merge pull request #2595 from pulibrary/2593-library-account
Browse files Browse the repository at this point in the history
Update link to Library Account
  • Loading branch information
hackartisan authored Jul 29, 2021
2 parents 3ce796b + b2bb889 commit 252cfee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/shared/_account.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li role="menuitem">
<%= link_to("https://princeton.alma.exlibrisgroup.com/discovery/account?vid=01PRI_INST:Services&lang=EN&section=overview", target: "_blank") do %>
"My Library Card" <i class="fa fa-external-link" aria-hidden="true"></i>
Library Account <i class="fa fa-external-link" aria-hidden="true"></i>
<% end %>
</li>
<li role="menuitem"><%= link_to "Digitization Requests", main_app.digitization_requests_path %></li>
Expand All @@ -26,7 +26,7 @@
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li role="menuitem">
<%= link_to("https://princeton.alma.exlibrisgroup.com/discovery/account?vid=01PRI_INST:Services&lang=EN&section=overview", target: "_blank") do %>
"My Library Card" <i class="fa fa-external-link" aria-hidden="true"></i>
Library Account <i class="fa fa-external-link" aria-hidden="true"></i>
<% end %>
</li>
<li role="menuitem"><%= link_to "Digitization Requests", main_app.digitization_requests_path %></li>
Expand Down
4 changes: 2 additions & 2 deletions spec/features/login_account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
visit "/"
click_button("Your Account")
within('li.show') do
link = find_link("My Library Card")
link = find_link("Library Account")
expect(link[:href]).to eq alma_account_url
expect(link[:target]).to eq("_blank")
expect(has_css?('i.fa-external-link', count: 1)).to eq true
Expand All @@ -26,7 +26,7 @@
visit "/"
click_button(user.username)
within('li.show') do
link = find_link("My Library Card")
link = find_link("Library Account")
expect(link[:href]).to eq alma_account_url
expect(link[:target]).to eq("_blank")
expect(has_css?('i.fa-external-link', count: 1)).to eq true
Expand Down

0 comments on commit 252cfee

Please sign in to comment.