16826: Fixes config maps assignments, mostly on tests.
[arvados.git] / services / api / test / functional / arvados / v1 / groups_controller_test.rb
index f038b1e55fd3a1114fa1969b85eb4e1e44e2877d..f413188b54b2ba54236a8ea5ce2ab51c002cb434 100644 (file)
@@ -430,10 +430,8 @@ class Arvados::V1::GroupsControllerTest < ActionController::TestCase
   end
 
   test 'get contents with jobs and pipeline instances disabled' do
-    conf = ActiveSupport::OrderedOptions.new
-    conf['jobs.index'] = {}
-    conf['pipeline_instances.index'] = {}
-    Rails.configuration.API.DisabledAPIs = conf
+    Rails.configuration.API.DisabledAPIs = ConfigLoader.to_OrderedOptions(
+      {'jobs.index'=>{}, 'pipeline_instances.index'=>{}})
 
     authorize_with :active
     get :contents, params: {