@@ -143,8 +143,10 class RepositoriesGitControllerTest < ActionController::TestCase | |||||
143 | end |
|
143 | end | |
144 |
|
144 | |||
145 | def test_browse_at_given_revision |
|
145 | def test_browse_at_given_revision | |
|
146 | assert_equal 0, @repository.changesets.count | |||
146 | @repository.fetch_changesets |
|
147 | @repository.fetch_changesets | |
147 |
@ |
|
148 | @project.reload | |
|
149 | assert_equal NUM_REV, @repository.changesets.count | |||
148 | get :show, :id => PRJ_ID, :path => ['images'], |
|
150 | get :show, :id => PRJ_ID, :path => ['images'], | |
149 | :rev => '7234cb2750b63f47bff735edc50a1c0a433c2518' |
|
151 | :rev => '7234cb2750b63f47bff735edc50a1c0a433c2518' | |
150 | assert_response :success |
|
152 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now