FactoryBot.define do
	factory :projecao_do_ipca, class: 'Projecao::ProjecaoDoIndice' do
		indice_de_projecao_id {
			Projecao::IndiceDeProjecao.find_or_create_by!( FactoryBot.attributes_for :igpm ).id
		}

		exercicio {'2014'}
		percentual {2.5}
		fonte_da_projecao {'BACEN'}
	end
end
