16007: Enable permission correctness checking (only for tests)
[arvados.git] / services / api / test / test_helper.rb
index 12f729e3384ac9b81107b744c6a52873c24fe3ea..c99a57aaff49b24910df17c4a745088a4903ce22 100644 (file)
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
-require 'refresh_permission_view'
+require 'update_permissions'
 
 ENV["RAILS_ENV"] = "test"
 unless ENV["NO_COVERAGE_TEST"]
@@ -209,5 +209,5 @@ class ActionDispatch::IntegrationTest
 end
 
 # Ensure permissions are computed from the test fixtures.
-refresh_permission_view
+refresh_permissions
 refresh_trashed