@@ -86,8 +86,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
86 | end |
|
86 | end | |
87 |
|
87 | |||
88 | def test_browse_at_given_revision |
|
88 | def test_browse_at_given_revision | |
|
89 | assert_equal 0, @repository.changesets.count | |||
89 | @repository.fetch_changesets |
|
90 | @repository.fetch_changesets | |
90 |
@ |
|
91 | @project.reload | |
|
92 | assert_equal NUM_REV, @repository.changesets.count | |||
91 | get :show, :id => PRJ_ID, :path => ['images'], :rev => 1 |
|
93 | get :show, :id => PRJ_ID, :path => ['images'], :rev => 1 | |
92 | assert_response :success |
|
94 | assert_response :success | |
93 | assert_template 'show' |
|
95 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now