@@ -141,6 +141,13 class RepositoryCvsTest < ActiveSupport::TestCase | |||||
141 | assert_equal '1.2', ann.revisions[1].revision |
|
141 | assert_equal '1.2', ann.revisions[1].revision | |
142 | assert_equal 'LANG', ann.revisions[1].author |
|
142 | assert_equal 'LANG', ann.revisions[1].author | |
143 | assert_equal 'with one change', ann.lines[1] |
|
143 | assert_equal 'with one change', ann.lines[1] | |
|
144 | ||||
|
145 | ann = @repository.annotate('README', '1') | |||
|
146 | assert ann | |||
|
147 | assert_equal 1, ann.revisions.length | |||
|
148 | assert_equal '1.1', ann.revisions[0].revision | |||
|
149 | assert_equal 'LANG', ann.revisions[0].author | |||
|
150 | assert_equal 'CVS test repository', ann.lines[0] | |||
144 | end |
|
151 | end | |
145 |
|
152 | |||
146 | else |
|
153 | else |
General Comments 0
You need to be logged in to leave comments.
Login now