mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
8 lines
216 B
Ruby
Executable file
8 lines
216 B
Ruby
Executable file
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
|