Skip to content

Commit

Permalink
Refs #21: Add paper link test
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Brand committed Nov 3, 2017
1 parent 12992a1 commit 358fd53
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec/features/paper/index_paper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@

expect(page).to have_link('Add paper')
end
#
# it 'should have a link to show author' do
# FactoryGirl.create :author
# visit authors_path
#
# expect(page).to have_link('Show')
# end

it 'should have a link to show author' do
FactoryGirl.create :paper
visit papers_path

expect(page).to have_link('Show')
end
#
# it 'should have a link to edit author' do
# FactoryGirl.create :author
Expand Down

0 comments on commit 358fd53

Please sign in to comment.