diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 469d9b66b..8ed177287 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -137,8 +137,8 @@ class RepositoriesGitControllerTest < ActionController::TestCase assert_template 'entry' # Line 19 assert_tag :tag => 'th', - :content => /11/, - :attributes => { :class => /line-num/ }, + :content => '11', + :attributes => { :class => 'line-num' }, :sibling => { :tag => 'td', :content => /WITHOUT ANY WARRANTY/ } end @@ -193,8 +193,14 @@ class RepositoriesGitControllerTest < ActionController::TestCase assert_response :success assert_template 'annotate' # Line 23, changeset 2f9c0091 - assert_tag :tag => 'th', :content => /24/, - :sibling => { :tag => 'td', :child => { :tag => 'a', :content => /2f9c0091/ } }, + assert_tag :tag => 'th', :content => '24', + :sibling => { + :tag => 'td', + :child => { + :tag => 'a', + :content => /2f9c0091c754a91af7a9c478e36556b4bde8dcf7/ + } + }, :sibling => { :tag => 'td', :content => /jsmith/ }, :sibling => { :tag => 'td', :content => /watcher =/ } end