adds tmp factory hack
This commit is contained in:
@@ -207,7 +207,9 @@ FactoryGirl.define do
|
|||||||
end
|
end
|
||||||
|
|
||||||
factory :budget_group, class: 'Budget::Group' do
|
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}" }
|
sequence(:name) { |n| "Group #{n}" }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user