Merge branch '8784-dir-listings'
[arvados.git] / services / api / test / factories / api_client.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 FactoryGirl.define do
6   factory :api_client do
7     is_trusted false
8     to_create do |instance|
9       CurrentApiClientHelper.act_as_system_user do
10         instance.save!
11       end
12     end
13   end
14 end