Skip to content

Commit

Permalink
Refs #27: Add paper author list test
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Brand committed Nov 3, 2017
1 parent 0d478a5 commit 63c5980
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/models/paper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@
paper = Paper.new(title: 'COMPUTING MACHINERY AND INTELLIGENCE', venue: 'Mind 49: 433-460', year: 'nineteen-fifty')
expect(paper).not_to be_valid
end

it 'should have a list of authors' do
paper = Paper.new(title: 'COMPUTING MACHINERY AND INTELLIGENCE', venue: 'Mind 49: 433-460', year: 'nineteen-fifty')
expect(paper.authors).to eq([])
end
end

0 comments on commit 63c5980

Please sign in to comment.