##// END OF EJS Templates
Rails3: scm: darcs: fix error of test_browse_directory at functional test...
Toshi MARUYAMA -
r7036:bb53890dbb14
parent child
Show More
@@ -60,8 +60,10 class RepositoriesDarcsControllerTest < ActionController::TestCase
60 end
60 end
61
61
62 def test_browse_directory
62 def test_browse_directory
63 assert_equal 0, @repository.changesets.count
63 @repository.fetch_changesets
64 @repository.fetch_changesets
64 @repository.reload
65 @project.reload
66 assert_equal NUM_REV, @repository.changesets.count
65 get :show, :id => PRJ_ID, :path => ['images']
67 get :show, :id => PRJ_ID, :path => ['images']
66 assert_response :success
68 assert_response :success
67 assert_template 'show'
69 assert_template 'show'
General Comments 0
You need to be logged in to leave comments. Login now