13996: Update tests for cleaner config access
[arvados.git] / services / api / test / integration / groups_test.rb
index 9c2d023c04aaadd943a8effc954bda00c312e7fa..eb97fc1f49034165e6ae02a1896b116a3e835890 100644 (file)
@@ -194,7 +194,7 @@ class NonTransactionalGroupsTest < ActionDispatch::IntegrationTest
   end
 
   test "create request with async=true defers permissions update" do
-    Rails.configuration.API["AsyncPermissionsUpdateInterval"] = 1 # second
+    Rails.configuration.API.AsyncPermissionsUpdateInterval = 1 # second
     name = "Random group #{rand(1000)}"
     assert_equal nil, Group.find_by_name(name)