summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/queries_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/api_test/queries_test.rb')
-rw-r--r--test/integration/api_test/queries_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/queries_test.rb b/test/integration/api_test/queries_test.rb
index 5ce772fb7..2ba8e567b 100644
--- a/test/integration/api_test/queries_test.rb
+++ b/test/integration/api_test/queries_test.rb
@@ -32,7 +32,7 @@ class Redmine::ApiTest::QueriesTest < Redmine::ApiTest::Base
assert_response :success
assert_equal 'application/xml', @response.content_type
- assert_select 'queries[type=array] query id:content(4)' do
+ assert_select 'queries[type=array] query id', :text => '4' do
assert_select '~ name', :text => 'Public query for all projects'
end
end