Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Remove display of Respository in the object level view
Browse files Browse the repository at this point in the history
  • Loading branch information
VivianChu committed Jul 13, 2017
1 parent 0dc8df8 commit ceb94ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions app/views/shared/fields/_show_raw.erb
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@
<% end %>
<%= render :partial => 'shared/fields/rights_holder', :locals => component %>
<%= render :partial => 'shared/fields/unit', :locals => component %>




Expand Down
5 changes: 0 additions & 5 deletions app/views/shared/fields/_unit.html.erb

This file was deleted.

4 changes: 2 additions & 2 deletions spec/features/dams_object_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
expect(page).to have_selector('p', text: 'Test Point')
expect(page).to have_selector('p', text: 'Test Line')
expect(page).to have_selector('p', text: 'Test Polygon')
expect(page).to have_selector('li', text: 'Test Unit')
expect(page).to_not have_selector('li', text: 'Test Unit')

expect(page).to have_selector('p', text: 'Creative Commons Attribution 4.0')
expect(page).to have_selector('p', text: 'Test Preferred Citation Note')
Expand Down Expand Up @@ -373,7 +373,7 @@
expect(page).to have_selector('p', text: 'Test Point')
expect(page).to have_selector('p', text: 'Test Line')
expect(page).to have_selector('p', text: 'Test Polygon')
expect(page).to have_selector('li', text: 'Test Unit')
expect(page).to_not have_selector('li', text: 'Test Unit')

expect(page).to have_content('Related Publications')

Expand Down

0 comments on commit ceb94ed

Please sign in to comment.