summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-17 17:02:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-17 17:02:55 +0000
commitd85f73a30d48b3472346fb712106e6d5f4403278 (patch)
tree35d9205b3bf1da3c4e1cc9fc7699f798395d4702 /test/functional/repositories_controller_test.rb
parent3ea8b706978b490fc54cde8e14dcde2a748dec1a (diff)
downloadredmine-d85f73a30d48b3472346fb712106e6d5f4403278.tar.gz
redmine-d85f73a30d48b3472346fb712106e6d5f4403278.zip
Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_controller_test.rb')
-rw-r--r--test/functional/repositories_controller_test.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/functional/repositories_controller_test.rb b/test/functional/repositories_controller_test.rb
index 14f6a6355..3e0fa5963 100644
--- a/test/functional/repositories_controller_test.rb
+++ b/test/functional/repositories_controller_test.rb
@@ -275,14 +275,8 @@ class RepositoriesControllerTest < ActionController::TestCase
assert_response :success
assert_template 'committers'
- assert_select 'td:content(dlopper) + td select' do
- assert_select 'option[value="3"][selected=selected]', :text => 'Dave Lopper'
- end
-
- assert_select 'td:content(foo) + td select' do
- assert_select 'option[value=""]'
- assert_select 'option[selected=selected]', 0 # no option selected
- end
+ assert_select 'input[value=dlopper] + select option[value="3"][selected=selected]', :text => 'Dave Lopper'
+ assert_select 'input[value=foo] + select option[selected=selected]', 0 # no option selected
end
def test_post_committers