Skip to content

Commit

Permalink
Failing test for #33
Browse files Browse the repository at this point in the history
  • Loading branch information
manner committed Nov 7, 2017
1 parent f79d1a3 commit 07720a9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/features/paper/index_paper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@
author = FactoryGirl.create :paper
visit papers_path
end

it "should display title, venue and year of all papers" do
paper = FactoryGirl.create :paper
paper.save
visit papers_path
expect(page).to have_css('td', :text => 'COMPUTING MACHINERY AND INTELLIGENCE')
expect(page).to have_css('td', :text => 'Mind 49: 433-460')
expect(page).to have_css('td', :text => 1950)

end
end

0 comments on commit 07720a9

Please sign in to comment.