@@ -96,8 +96,10 class RepositoryBazaarTest < ActiveSupport::TestCase | |||||
96 | end |
|
96 | end | |
97 |
|
97 | |||
98 | def test_next |
|
98 | def test_next | |
|
99 | assert_equal 0, @repository.changesets.count | |||
99 | @repository.fetch_changesets |
|
100 | @repository.fetch_changesets | |
100 |
@ |
|
101 | @project.reload | |
|
102 | assert_equal NUM_REV, @repository.changesets.count | |||
101 | changeset = @repository.find_changeset_by_name('2') |
|
103 | changeset = @repository.find_changeset_by_name('2') | |
102 | assert_equal @repository.find_changeset_by_name('3'), changeset.next |
|
104 | assert_equal @repository.find_changeset_by_name('3'), changeset.next | |
103 | end |
|
105 | end |
General Comments 0
You need to be logged in to leave comments.
Login now