13996: Update tests for cleaner config access
[arvados.git] / services / api / test / tasks / delete_old_job_logs_test.rb
index 6a793e1e0e9aaae29b24b60c096bb76c1021d251..00660431c360800d5a63937cad81d1629cac1338 100644 (file)
@@ -16,7 +16,7 @@ class DeleteOldJobLogsTaskTest < ActiveSupport::TestCase
   end
 
   def run_with_expiry(clean_after)
-    Rails.configuration.Containers["Logging"]["MaxAge"] = clean_after
+    Rails.configuration.Containers.Logging.MaxAge = clean_after
     Rake::Task[TASK_NAME].reenable
     Rake.application.invoke_task TASK_NAME
   end