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

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

View File

@ -191,7 +191,7 @@ class RepositoriesGitControllerTest < 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