@@ -102,6 +102,13 class RepositoryCvsTest < ActiveSupport::TestCase | |||||
102 | assert_equal entries[2].lastrev.author, 'LANG' |
|
102 | assert_equal entries[2].lastrev.author, 'LANG' | |
103 | end |
|
103 | end | |
104 |
|
104 | |||
|
105 | def test_entries_invalid | |||
|
106 | @repository.fetch_changesets | |||
|
107 | @repository.reload | |||
|
108 | assert_nil @repository.entries('missing') | |||
|
109 | assert_nil @repository.entries('missing', '3') | |||
|
110 | end | |||
|
111 | ||||
105 | def test_cat |
|
112 | def test_cat | |
106 | @repository.fetch_changesets |
|
113 | @repository.fetch_changesets | |
107 | @repository.reload |
|
114 | @repository.reload |
General Comments 0
You need to be logged in to leave comments.
Login now