@@ -99,8 +99,10 class RepositoriesDarcsControllerTest < ActionController::TestCase | |||||
99 | end |
|
99 | end | |
100 |
|
100 | |||
101 | def test_diff |
|
101 | def test_diff | |
|
102 | assert_equal 0, @repository.changesets.count | |||
102 | @repository.fetch_changesets |
|
103 | @repository.fetch_changesets | |
103 |
@ |
|
104 | @project.reload | |
|
105 | assert_equal NUM_REV, @repository.changesets.count | |||
104 | # Full diff of changeset 5 |
|
106 | # Full diff of changeset 5 | |
105 | ['inline', 'sbs'].each do |dt| |
|
107 | ['inline', 'sbs'].each do |dt| | |
106 | get :diff, :id => PRJ_ID, :rev => 5, :type => dt |
|
108 | get :diff, :id => PRJ_ID, :rev => 5, :type => dt |
General Comments 0
You need to be logged in to leave comments.
Login now