diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-16 21:07:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-16 21:07:22 +0000 |
commit | e924e9e7cb9df21b3bc3d51d5f955da28ba3a225 (patch) | |
tree | 598ccb6f09e55ad06e628a90d27628f20ae693fe /spec/factories/aws | |
parent | 8e45d25f7dde6508839ffee719c0ddc2cf6b12d3 (diff) | |
download | gitlab-ce-e924e9e7cb9df21b3bc3d51d5f955da28ba3a225.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/aws')
-rw-r--r-- | spec/factories/aws/roles.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/aws/roles.rb b/spec/factories/aws/roles.rb new file mode 100644 index 00000000000..c078033dfad --- /dev/null +++ b/spec/factories/aws/roles.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :aws_role, class: Aws::Role do + user + + role_arn { 'arn:aws:iam::123456789012:role/role-name' } + sequence(:role_external_id) { |n| "external-id-#{n}" } + end +end |