mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 22:41:33 +00:00
9 lines
262 B
Ruby
9 lines
262 B
Ruby
|
FactoryGirl.define do
|
||
|
factory :message do
|
||
|
association :sender, factory: :user
|
||
|
association :recipient, factory: :user
|
||
|
sequence(:text) { |n| "text-#{n}" }
|
||
|
sequence(:title) { |n| "title-#{n}" }
|
||
|
sequence(:text_parsed) { |n| "text-#{n}" }
|
||
|
end
|
||
|
end
|