debian-mirror-gitlab/spec/factories/aws/roles.rb

11 lines
234 B
Ruby
Raw Normal View History

2019-12-21 20:55:43 +05:30
# frozen_string_literal: true
FactoryBot.define do
2020-03-09 13:42:32 +05:30
factory :aws_role, class: 'Aws::Role' do
2019-12-21 20:55:43 +05:30
user
role_arn { 'arn:aws:iam::123456789012:role/role-name' }
sequence(:role_external_id) { |n| "external-id-#{n}" }
end
end