mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
8 lines
209 B
Ruby
8 lines
209 B
Ruby
|
FactoryGirl.define do
|
||
|
factory :issue do
|
||
|
sequence(:title) { |n| "Issue title #{n}" }
|
||
|
sequence(:text) { |n| "Issue Text #{n}" }
|
||
|
status Issue::STATUS_OPEN
|
||
|
association :author, factory: :user
|
||
|
end
|
||
|
end
|