From: Jean-Philippe Lang Date: Sat, 12 Mar 2011 12:14:14 +0000 (+0000) Subject: Fixes diff test regarding r5094. X-Git-Tag: 1.2.0~747 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fcf0162c8dc9bc9ee2906d5ded23add18e745809;p=redmine.git Fixes diff test regarding r5094. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5096 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/repositories_cvs_controller_test.rb b/test/functional/repositories_cvs_controller_test.rb index 402ee8cfe..24782b2b5 100644 --- a/test/functional/repositories_cvs_controller_test.rb +++ b/test/functional/repositories_cvs_controller_test.rb @@ -151,9 +151,9 @@ class RepositoriesCvsControllerTest < ActionController::TestCase assert_response :success assert_template 'diff' assert_tag :tag => 'td', :attributes => { :class => 'line-code diff_out' }, - :content => /watched.remove_watcher/ + :content => /before_filter :require_login/ assert_tag :tag => 'td', :attributes => { :class => 'line-code diff_in' }, - :content => /watched.remove_all_watcher/ + :content => /with one change/ end def test_diff_new_files