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 909bb2c commit 77e4071
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions spec/features/paper/index_paper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
expect(page.text).to match(/COMPUTING MACHINERY AND INTELLIGENCE/i)
end

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

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

0 comments on commit 77e4071

Please sign in to comment.