16601: Formatting touch-ups and typo fixes.
[arvados.git] / services / api / test / functional / arvados / v1 / schema_controller_test.rb
index e62faa3314e3a3bed9fd1fa207d58ea73c75d128..3dd343b13cd29ac567f8244b9399c534651fbceb 100644 (file)
@@ -66,7 +66,7 @@ class Arvados::V1::SchemaControllerTest < ActionController::TestCase
 
   test "non-empty disable_api_methods" do
     Rails.configuration.API.DisabledAPIs =
-      ['jobs.create', 'pipeline_instances.create', 'pipeline_templates.create']
+      {'jobs.create'=>{}, 'pipeline_instances.create'=>{}, 'pipeline_templates.create'=>{}}
     get :index
     assert_response :success
     discovery_doc = JSON.parse(@response.body)
@@ -84,7 +84,7 @@ class Arvados::V1::SchemaControllerTest < ActionController::TestCase
     group_index_params = discovery_doc['resources']['groups']['methods']['index']['parameters']
     group_contents_params = discovery_doc['resources']['groups']['methods']['contents']['parameters']
 
-    assert_equal group_contents_params.keys.sort, (group_index_params.keys - ['select'] + ['uuid', 'recursive']).sort
+    assert_equal group_contents_params.keys.sort, (group_index_params.keys - ['select'] + ['uuid', 'recursive', 'include']).sort
 
     recursive_param = group_contents_params['recursive']
     assert_equal 'boolean', recursive_param['type']