Skip to content

Commit

Permalink
Refs #26: red test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBrendel committed Nov 3, 2017
1 parent 5126b81 commit 303a3a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/features/paper/index_paper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@

expect(page).to have_link('Add paper')
end

it 'should display a link to show paper\'s details' do
FactoryGirl.create :paper
visit papers_path

expect(page).to have_link('Show')
end
end

0 comments on commit 303a3a5

Please sign in to comment.