##// END OF EJS Templates
Rails3: scm: mercurial: fix error of test_show_directory at functional test...
Toshi MARUYAMA -
r7008:277d66414762
parent child
Show More
@@ -82,8 +82,10 class RepositoriesMercurialControllerTest < ActionController::TestCase
82 end
82 end
83
83
84 def test_show_directory
84 def test_show_directory
85 assert_equal 0, @repository.changesets.count
85 @repository.fetch_changesets
86 @repository.fetch_changesets
86 @repository.reload
87 @project.reload
88 assert_equal NUM_REV, @repository.changesets.count
87 get :show, :id => PRJ_ID, :path => ['images']
89 get :show, :id => PRJ_ID, :path => ['images']
88 assert_response :success
90 assert_response :success
89 assert_template 'show'
91 assert_template 'show'
General Comments 0
You need to be logged in to leave comments. Login now