@@ -94,8 +94,9 class RepositorySubversionTest < ActiveSupport::TestCase | |||||
94 | :project => @project, |
|
94 | :project => @project, | |
95 | :url => "file:///#{self.class.repository_path('subversion')}/subversion_test/[folder_with_brackets]") |
|
95 | :url => "file:///#{self.class.repository_path('subversion')}/subversion_test/[folder_with_brackets]") | |
96 |
|
96 | |||
|
97 | assert_equal 0, @repository.changesets.count | |||
97 | @repository.fetch_changesets |
|
98 | @repository.fetch_changesets | |
98 |
@ |
|
99 | @project.reload | |
99 |
|
100 | |||
100 | assert_equal 1, @repository.changesets.count, 'Expected to see 1 revision' |
|
101 | assert_equal 1, @repository.changesets.count, 'Expected to see 1 revision' | |
101 | assert_equal 2, @repository.changes.count, 'Expected to see 2 changes, dir add and file add' |
|
102 | assert_equal 2, @repository.changes.count, 'Expected to see 2 changes, dir add and file add' |
General Comments 0
You need to be logged in to leave comments.
Login now