summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/trackers_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/api_test/trackers_test.rb')
-rw-r--r--test/integration/api_test/trackers_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/trackers_test.rb b/test/integration/api_test/trackers_test.rb
index f5b2178cd..beabc4637 100644
--- a/test/integration/api_test/trackers_test.rb
+++ b/test/integration/api_test/trackers_test.rb
@@ -26,7 +26,7 @@ class Redmine::ApiTest::TrackersTest < Redmine::ApiTest::Base
assert_response :success
assert_equal 'application/xml', @response.content_type
- assert_select 'trackers[type=array] tracker id:content(2)' do
+ assert_select 'trackers[type=array] tracker id', :text => '2' do
assert_select '~ name', :text => 'Feature request'
end
end