clarion/spec/factories/propositions.rb
Petko Bordjukov cc4f1e9c13 Introduce the Proposition model
Introduce an abstraction that is going to be used to propose models for
other models that can accept propositions.
2015-04-17 02:03:07 +03:00

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