summaryrefslogtreecommitdiffstats
path: root/test/functional/timelog_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-07-02 06:34:03 +0000
committerGo MAEDA <maeda@farend.jp>2023-07-02 06:34:03 +0000
commita7bc173a7e7337d85b12fcd795a0ff7650f36ac6 (patch)
tree2f525e35ad0c1189d4c7655e469e275c83b8aa42 /test/functional/timelog_controller_test.rb
parenta519accb99ee8392ffaa6805cec37d7749b8b57d (diff)
downloadredmine-a7bc173a7e7337d85b12fcd795a0ff7650f36ac6.tar.gz
redmine-a7bc173a7e7337d85b12fcd795a0ff7650f36ac6.zip
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
Diffstat (limited to 'test/functional/timelog_controller_test.rb')
-rw-r--r--test/functional/timelog_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb
index 79e543253..1646f0367 100644
--- a/test/functional/timelog_controller_test.rb
+++ b/test/functional/timelog_controller_test.rb
@@ -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