@@ -76,8 +76,10 class RepositoriesDarcsControllerTest < ActionController::TestCase | |||
|
76 | 76 | end |
|
77 | 77 | |
|
78 | 78 | def test_browse_at_given_revision |
|
79 | assert_equal 0, @repository.changesets.count | |
|
79 | 80 | @repository.fetch_changesets |
|
80 |
@ |
|
|
81 | @project.reload | |
|
82 | assert_equal NUM_REV, @repository.changesets.count | |
|
81 | 83 | get :show, :id => PRJ_ID, :path => ['images'], :rev => 1 |
|
82 | 84 | assert_response :success |
|
83 | 85 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now