Fix incorrect argument format for assert_select that causes ArgumentError with rails-dom-testing >= 2.1.0 (#38797).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22273 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2023-07-02 06:34:03 +00:00
parent a519accb99
commit a7bc173a7e
4 changed files with 21 additions and 16 deletions

View File

@@ -768,7 +768,7 @@ class TimelogControllerTest < Redmine::ControllerTest
assert_response :success
assert_select 'select[id=?]', 'time_entry_activity_id' do
assert_select 'option', 3
assert_select 'option[value=?]', '11', 0, :text => 'QA'
assert_select 'option[value=?]', '11', 0
end
end