Skip to content

Commit

Permalink
Refs #19: red test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBrendel committed Nov 3, 2017
1 parent c8f82c5 commit aeed915
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 40 deletions.
15 changes: 0 additions & 15 deletions spec/helpers/authors_helper_spec.rb

This file was deleted.

15 changes: 0 additions & 15 deletions spec/helpers/papers_helper_spec.rb

This file was deleted.

5 changes: 5 additions & 0 deletions spec/models/paper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
expect(paper.year).to eq(1950)
end

it 'should not be valid without a title' do
paper = Paper.new(id: 42, venue: 'Mind 49: 433-460', year: 1950)
expect(paper).not_to be_valid
end

end
5 changes: 0 additions & 5 deletions spec/views/authors/new.html.erb_spec.rb

This file was deleted.

5 changes: 0 additions & 5 deletions spec/views/papers/new.html.erb_spec.rb

This file was deleted.

0 comments on commit aeed915

Please sign in to comment.