summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_git_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/repositories_git_controller_test.rb')
-rw-r--r--test/functional/repositories_git_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb
index c6d7ada9b..0c55b571d 100644
--- a/test/functional/repositories_git_controller_test.rb
+++ b/test/functional/repositories_git_controller_test.rb
@@ -265,7 +265,7 @@ class RepositoriesGitControllerTest < ActionController::TestCase
assert_response :success
assert_template 'diff'
# Line 22 removed
- assert_select 'th.line-num:content(22) ~ td.diff_out', :text => /def remove/
+ assert_select 'th.line-num:contains(22) ~ td.diff_out', :text => /def remove/
assert_select 'h2', :text => /2f9c0091/
end
end
@@ -286,7 +286,7 @@ class RepositoriesGitControllerTest < ActionController::TestCase
assert_response :success
assert_template 'diff'
# Line 22 removed
- assert_select 'th.line-num:content(22) ~ td.diff_out', :text => /def remove/
+ assert_select 'th.line-num:contains(22) ~ td.diff_out', :text => /def remove/
assert_select 'h2', :text => /2f9c0091/
end
end