##// END OF EJS Templates
Rails3: scm: subversion: fix error of test_invalid_revision at functional test...
Toshi MARUYAMA -
r7067:9c0701ce12a3
parent child
Show More
@@ -212,8 +212,10 class RepositoriesSubversionControllerTest < ActionController::TestCase
212 end
212 end
213
213
214 def test_invalid_revision
214 def test_invalid_revision
215 assert_equal 0, @repository.changesets.count
215 @repository.fetch_changesets
216 @repository.fetch_changesets
216 @repository.reload
217 @project.reload
218 assert_equal NUM_REV, @repository.changesets.count
217 get :revision, :id => PRJ_ID, :rev => 'something_weird'
219 get :revision, :id => PRJ_ID, :rev => 'something_weird'
218 assert_response 404
220 assert_response 404
219 assert_error_tag :content => /was not found/
221 assert_error_tag :content => /was not found/
General Comments 0
You need to be logged in to leave comments. Login now