@@ -98,8 +98,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
98 | end |
|
98 | end | |
99 |
|
99 | |||
100 | def test_entry |
|
100 | def test_entry | |
|
101 | assert_equal 0, @repository.changesets.count | |||
101 | @repository.fetch_changesets |
|
102 | @repository.fetch_changesets | |
102 |
@ |
|
103 | @project.reload | |
|
104 | assert_equal NUM_REV, @repository.changesets.count | |||
103 | get :entry, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'] |
|
105 | get :entry, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'] | |
104 | assert_response :success |
|
106 | assert_response :success | |
105 | assert_template 'entry' |
|
107 | assert_template 'entry' |
General Comments 0
You need to be logged in to leave comments.
Login now