projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14484: Simplifies pdh transaction grouping, keeps SQL in the migration
[arvados.git]
/
services
/
api
/
test
/
factories
/
api_client.rb
diff --git
a/services/api/test/factories/api_client.rb
b/services/api/test/factories/api_client.rb
index 7921c35865a179b5bf7f0fcbb981003dc830d0f5..ee2017bf72f8553f406120c40cdd5f174dfedb26 100644
(file)
--- a/
services/api/test/factories/api_client.rb
+++ b/
services/api/test/factories/api_client.rb
@@
-1,8
+1,12
@@
-FactoryGirl.define do
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+FactoryBot.define do
factory :api_client do
factory :api_client do
- is_trusted
false
+ is_trusted
{ false }
to_create do |instance|
to_create do |instance|
- act_as_system_user do
+
CurrentApiClientHelper.
act_as_system_user do
instance.save!
end
end
instance.save!
end
end