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