debian-mirror-gitlab/spec/factories/terraform/state_version.rb
2020-11-24 15:15:51 +05:30

11 lines
337 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :terraform_state_version, class: 'Terraform::StateVersion' do
terraform_state factory: :terraform_state
created_by_user factory: :user
sequence(:version)
file { fixture_file_upload('spec/fixtures/terraform/terraform.tfstate', 'application/json') }
end
end