##// END OF EJS Templates
Rails3: scm: darcs: fix error of test_browse_at_given_revision at functional test...
Toshi MARUYAMA -
r7037:2be384c31adb
parent child
Show More
@@ -76,8 +76,10 class RepositoriesDarcsControllerTest < ActionController::TestCase
76 end
76 end
77
77
78 def test_browse_at_given_revision
78 def test_browse_at_given_revision
79 assert_equal 0, @repository.changesets.count
79 @repository.fetch_changesets
80 @repository.fetch_changesets
80 @repository.reload
81 @project.reload
82 assert_equal NUM_REV, @repository.changesets.count
81 get :show, :id => PRJ_ID, :path => ['images'], :rev => 1
83 get :show, :id => PRJ_ID, :path => ['images'], :rev => 1
82 assert_response :success
84 assert_response :success
83 assert_template 'show'
85 assert_template 'show'
General Comments 0
You need to be logged in to leave comments. Login now