Paper index page should have a link to delete a paper
Closed this issue · 2 comments
swt2public commented
Given a paper
When users visit the papers index page
Then it should have a destroy link
Expected to find css "a" with text "destroy" but there were no matches. also found "show", "edit", "add paper", which matched the selector but not all filters.
swt2public commented
Given a paper
When users visit the papers index page
And click 'Destroy'
Got ActionView::Template::Error: undefined method `each' for nil:NilClass
swt2public commented
Given a paper
When users visit the papers index page
And click 'Destroy'
Got ActionView::Template::Error: undefined method `each' for nil:NilClass