Revision 1433:cfa80f738847 plugins/redmine_bibliography
| plugins/redmine_bibliography/test/unit/publication_test.rb | ||
|---|---|---|
| 16 | 16 |
# test authorships - publication relationship |
| 17 | 17 |
publication = Publication.find(1) |
| 18 | 18 |
|
| 19 |
assert 4, publication.authorships.count
|
|
| 19 |
assert_equal 4, publication.authorships.count, "Error: was expecting 4 authorships"
|
|
| 20 | 20 |
end |
| 21 | 21 |
|
| 22 | 22 |
def test_new_publication_validations |
Also available in: Unified diff