scm: mercurial: fix id at functional test_empty_revision test(#7307).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4714 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-01-14 23:10:49 +00:00
parent 61a517179d
commit effc33fe5b
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
@repository.fetch_changesets
@repository.reload
['', ' ', nil].each do |r|
get :revision, :id => 1, :rev => r
get :revision, :id => 3, :rev => r
assert_response 404
assert_error_tag :content => /was not found/
end