summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/api_test/search_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/api_test/search_test.rb b/test/integration/api_test/search_test.rb
index 65d4654d8..951fb45a9 100644
--- a/test/integration/api_test/search_test.rb
+++ b/test/integration/api_test/search_test.rb
@@ -91,4 +91,9 @@ class Redmine::ApiTest::SearchTest < Redmine::ApiTest::Base
assert_equal 4, json['limit']
assert_equal issue[8..10], json['results'].map {|r| r['id']}
end
+
+ test "GET /search.xml should not quick jump to the issue with given id" do
+ get '/search.xml', :params => {:q => '3'}
+ assert_response :success
+ end
end