@@ -149,8 +149,10 class RepositoryCvsTest < ActiveSupport::TestCase | |||||
149 | end |
|
149 | end | |
150 |
|
150 | |||
151 | def test_annotate |
|
151 | def test_annotate | |
|
152 | assert_equal 0, @repository.changesets.count | |||
152 | @repository.fetch_changesets |
|
153 | @repository.fetch_changesets | |
153 |
@ |
|
154 | @project.reload | |
|
155 | assert_equal CHANGESETS_NUM, @repository.changesets.count | |||
154 | ann = @repository.annotate('README') |
|
156 | ann = @repository.annotate('README') | |
155 | assert ann |
|
157 | assert ann | |
156 | assert_equal 3, ann.revisions.length |
|
158 | assert_equal 3, ann.revisions.length |
General Comments 0
You need to be logged in to leave comments.
Login now