blob: 74950ccf93ee7e901d591d59b68d871b914103bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
FactoryBot.define do
factory :terraform_state, class: 'Terraform::State' do
project { create(:project) }
sequence(:name) { |n| "state-#{n}" }
trait :with_file do
file { fixture_file_upload('spec/fixtures/terraform/terraform.tfstate', 'application/json') }
end
end
end
|