cc4f1e9c13
Introduce an abstraction that is going to be used to propose models for other models that can accept propositions.
8 lines
201 B
Ruby
8 lines
201 B
Ruby
FactoryGirl.define do
|
|
factory :proposition do
|
|
association :proposer, factory: :user
|
|
association :proposition_accepting, factory: :track
|
|
association :proposable, factory: :event
|
|
end
|
|
end
|