[ARVADOS] updated: c4f571a3111819e1b6fb9aa53be5469ed05b8c84

git at public.curoverse.com git at public.curoverse.com
Wed Jan 14 13:06:42 EST 2015


Summary of changes:
 services/api/test/integration/collections_api_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  c4f571a3111819e1b6fb9aa53be5469ed05b8c84 (commit)
      from  927f967049c054e41ef4ad51b7eb3dfd631fe2ce (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c4f571a3111819e1b6fb9aa53be5469ed05b8c84
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Wed Jan 14 13:06:21 2015 -0500

    4523: use filters instead of where for search

diff --git a/services/api/test/integration/collections_api_test.rb b/services/api/test/integration/collections_api_test.rb
index d8376c5..703b4e9 100644
--- a/services/api/test/integration/collections_api_test.rb
+++ b/services/api/test/integration/collections_api_test.rb
@@ -190,7 +190,7 @@ class CollectionsApiTest < ActionDispatch::IntegrationTest
 
   def search_using_filter search_filter, expected_items
     get '/arvados/v1/collections', {
-      where: { any: ['contains', search_filter] }
+      :filters => [['any', 'ilike', "%#{search_filter}%"]].to_json
     }, auth(:active)
     assert_response :success
     response_items = json_response['items']

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list