Skip to content

Commit

Permalink
fix broken transfer works link. fixes #1981
Browse files Browse the repository at this point in the history
  • Loading branch information
jhallida committed May 5, 2016
1 parent 36102de commit 055f6b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/dashboard/_index_partials/_transfers.html.erb
Expand Up @@ -4,7 +4,7 @@
</div>
<div class="col-xs-12 col-sm-3 transfer_link">
<%= link_to sufia.dashboard_works_path do %>
<%= t("sufia.dashboard.transfer_files_link") %>
<%= t("sufia.dashboard.transfer_works_link") %>
<% end %>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions spec/views/dashboard/index_spec.rb
Expand Up @@ -149,6 +149,10 @@
expect(rendered).to include title1
expect(rendered).to include title2
end
it 'renders transfer works link correctly' do
render
expect(rendered).to include "Select works to transfer"
end
end

context "without activities and notifications" do
Expand Down

0 comments on commit 055f6b9

Please sign in to comment.