13996: Migrate tests to new config
[arvados.git] / services / api / test / functional / arvados / v1 / schema_controller_test.rb
index 53c1ed72e7910c8cd19f36f0721aef5e53ea87ed..9d49128052cd829c24e3316df3c1b8568654c8cd 100644 (file)
@@ -65,7 +65,7 @@ class Arvados::V1::SchemaControllerTest < ActionController::TestCase
   end
 
   test "non-empty disable_api_methods" do
-    Rails.configuration.disable_api_methods =
+    Rails.configuration.API["DisabledAPIs"] =
       ['jobs.create', 'pipeline_instances.create', 'pipeline_templates.create']
     get :index
     assert_response :success