uses a string in the factories
This commit is contained in:
@@ -212,7 +212,7 @@ FactoryGirl.define do
|
|||||||
price 1000000
|
price 1000000
|
||||||
end
|
end
|
||||||
|
|
||||||
factory :budget_investment, class: Budget::Investment do
|
factory :budget_investment, class: 'Budget::Investment' do
|
||||||
sequence(:title) { |n| "Budget Investment #{n} title" }
|
sequence(:title) { |n| "Budget Investment #{n} title" }
|
||||||
association :budget
|
association :budget
|
||||||
association :author, factory: :user
|
association :author, factory: :user
|
||||||
|
|||||||
Reference in New Issue
Block a user