##// END OF EJS Templates
Rails3: scm: darcs: fix error of test_changes at functional test...
Toshi MARUYAMA -
r7038:4bff1e94ce08
parent child
Show More
@@ -88,8 +88,10 class RepositoriesDarcsControllerTest < ActionController::TestCase
88 end
88 end
89
89
90 def test_changes
90 def test_changes
91 assert_equal 0, @repository.changesets.count
91 @repository.fetch_changesets
92 @repository.fetch_changesets
92 @repository.reload
93 @project.reload
94 assert_equal NUM_REV, @repository.changesets.count
93 get :changes, :id => PRJ_ID, :path => ['images', 'edit.png']
95 get :changes, :id => PRJ_ID, :path => ['images', 'edit.png']
94 assert_response :success
96 assert_response :success
95 assert_template 'changes'
97 assert_template 'changes'
General Comments 0
You need to be logged in to leave comments. Login now