Merge branch '13910-arvados-gem-retrieval'
[arvados.git] / services / api / test / factories / api_client.rb
index 7921c35865a179b5bf7f0fcbb981003dc830d0f5..55f795702ac0b00df5476e079554f9fbcf019409 100644 (file)
@@ -1,8 +1,12 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 FactoryGirl.define do
   factory :api_client do
     is_trusted false
     to_create do |instance|
-      act_as_system_user do
+      CurrentApiClientHelper.act_as_system_user do
         instance.save!
       end
     end