Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
add test for bulk edit link
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan authored and escowles committed Dec 17, 2015
1 parent ebe3da9 commit 1ffa1e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/features/edit_scanned_resource_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
visit polymorphic_path [parent_presenter.file_presenters.first]
expect(page).to have_content "image.png"
end

scenario "User can follow link to bulk edit scanned resource" do
visit polymorphic_path [scanned_resource]
click_link 'Bulk Edit'
expect(page).to have_text('Bulk Edit')
end
end

context "an anonymous user" do
Expand Down

0 comments on commit 1ffa1e8

Please sign in to comment.