Skip to content

Commit

Permalink
Fix the tests that were broken by r4286:
Browse files Browse the repository at this point in the history
"Refactor: merged error rendering methods."

http://ci.finn.de/builds/1-8-7_redmine-trunk_mysql/4286

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4289 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
edavis10 committed Oct 25, 2010
1 parent d9f2bcc commit 0e951c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/functional/repositories_cvs_controller_test.rb
Expand Up @@ -106,7 +106,7 @@ def test_entry_at_given_revision

def test_entry_not_found
get :entry, :id => 1, :path => ['sources', 'zzz.c']
assert_tag :tag => 'div', :attributes => { :class => /error/ },
assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ },
:content => /The entry or revision was not found in the repository/
end

Expand Down
2 changes: 1 addition & 1 deletion test/functional/repositories_git_controller_test.rb
Expand Up @@ -154,7 +154,7 @@ def test_annotate
def test_annotate_binary_file
get :annotate, :id => 3, :path => ['images', 'edit.png']
assert_response 500
assert_tag :tag => 'div', :attributes => { :class => /error/ },
assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ },
:content => /can not be annotated/
end
else
Expand Down
2 changes: 1 addition & 1 deletion test/functional/repositories_subversion_controller_test.rb
Expand Up @@ -129,7 +129,7 @@ def test_entry_at_given_revision

def test_entry_not_found
get :entry, :id => 1, :path => ['subversion_test', 'zzz.c']
assert_tag :tag => 'div', :attributes => { :class => /error/ },
assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ },
:content => /The entry or revision was not found in the repository/
end

Expand Down

0 comments on commit 0e951c0

Please sign in to comment.