OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/spec/factories/wiki_content_factory.rb

9 lines
199 B

FactoryGirl.define do
factory :wiki_content do
page :factory => :wiki_page
author :factory => :user
text { |a| "h1. #{a.page.title}\n\nPage Content Version #{a.version}." }
end
end