adds tmp factory hack

This commit is contained in:
rgarcia
2016-07-27 13:04:31 +02:00
parent 6eab5d79a1
commit 82db8bb673

View File

@@ -207,7 +207,9 @@ FactoryGirl.define do
end
factory :budget_group, class: 'Budget::Group' do
budget
### TMP HACK to associate existing budget to a group
budget { Budget.first }
###
sequence(:name) { |n| "Group #{n}" }
end