FactoryBot.define do
	factory :convenio_conta_bancaria, class: 'Contabilidade::ConvenioContaBancaria' do
		convenio_id {
			Base::TipoDeDespesa.find_or_create_by!( FactoryBot.attributes_for( :despesa_corrente ) )
			Base::TipoDeDespesa.find_or_create_by!( FactoryBot.attributes_for( :despesa_de_capital ) )
			Contabilidade::Convenio.find_or_create_by!( FactoryBot.attributes_for( :convenio0001 ) ).id
		}

		conta_bancaria_id {
			Base::ContaBancaria.find_or_create_by!( FactoryBot.attributes_for( :conta_bancaria ) ).id
		}
	end
end
