@@ -102,8 +102,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
102 | end |
|
102 | end | |
103 |
|
103 | |||
104 | def test_file_changes |
|
104 | def test_file_changes | |
|
105 | assert_equal 0, @repository.changesets.count | |||
105 | @repository.fetch_changesets |
|
106 | @repository.fetch_changesets | |
106 |
@ |
|
107 | @project.reload | |
|
108 | assert_equal NUM_REV, @repository.changesets.count | |||
107 | get :changes, :id => PRJ_ID, :path => ['subversion_test', 'folder', 'helloworld.rb' ] |
|
109 | get :changes, :id => PRJ_ID, :path => ['subversion_test', 'folder', 'helloworld.rb' ] | |
108 | assert_response :success |
|
110 | assert_response :success | |
109 | assert_template 'changes' |
|
111 | assert_template 'changes' |
General Comments 0
You need to be logged in to leave comments.
Login now