uses a string in the factories

This commit is contained in:
kikito
2016-05-24 13:25:39 +02:00
parent 673cfc8249
commit fc35522467

View File

@@ -212,7 +212,7 @@ FactoryGirl.define do
price 1000000
end
factory :budget_investment, class: Budget::Investment do
factory :budget_investment, class: 'Budget::Investment' do
sequence(:title) { |n| "Budget Investment #{n} title" }
association :budget
association :author, factory: :user