clarion/spec/factories/propositions.rb

7 lines
145 B
Ruby

FactoryGirl.define do
factory :proposition do
association :proposer, factory: :user
association :proposable, factory: :event
end
end