diff --git a/test/functional/repositories_cvs_controller_test.rb b/test/functional/repositories_cvs_controller_test.rb index f3d4ecfe1c2..fa604dc8155 100644 --- a/test/functional/repositories_cvs_controller_test.rb +++ b/test/functional/repositories_cvs_controller_test.rb @@ -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 diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 941fbcf1bf2..326a53038c2 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -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 diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb index 7c88f253224..7cc2cbfc22b 100644 --- a/test/functional/repositories_subversion_controller_test.rb +++ b/test/functional/repositories_subversion_controller_test.rb @@ -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