parent
42d9e478b2
commit
29326ef503
@ -1,17 +0,0 @@ |
||||
#-- copyright |
||||
# OpenProject is a project management system. |
||||
# |
||||
# Copyright (C) 2012-2013 the OpenProject Team |
||||
# |
||||
# This program is free software; you can redistribute it and/or |
||||
# modify it under the terms of the GNU General Public License version 3. |
||||
# |
||||
# See doc/COPYRIGHT.rdoc for more details. |
||||
#++ |
||||
|
||||
FactoryGirl.define do |
||||
factory :document_category do |
||||
project |
||||
sequence(:name) { |n| "I am Category No. #{n}" } |
||||
end |
||||
end |
@ -1,19 +0,0 @@ |
||||
#-- copyright |
||||
# OpenProject is a project management system. |
||||
# |
||||
# Copyright (C) 2012-2013 the OpenProject Team |
||||
# |
||||
# This program is free software; you can redistribute it and/or |
||||
# modify it under the terms of the GNU General Public License version 3. |
||||
# |
||||
# See doc/COPYRIGHT.rdoc for more details. |
||||
#++ |
||||
|
||||
FactoryGirl.define do |
||||
factory :document do |
||||
project |
||||
category :factory => :document_category |
||||
sequence(:description) { |n| "I am a document's description No. #{n}" } |
||||
sequence(:title) { |n| "I am the document No. #{n}" } |
||||
end |
||||
end |
@ -1,14 +0,0 @@ |
||||
documents_001: |
||||
created_on: 2007-01-27 15:08:27 +01:00 |
||||
project_id: 1 |
||||
title: "Test document" |
||||
id: 1 |
||||
description: "Document description" |
||||
category_id: 1 |
||||
documents_002: |
||||
created_on: 2007-02-12 15:08:27 +01:00 |
||||
project_id: 1 |
||||
title: "An other document" |
||||
id: 2 |
||||
description: "" |
||||
category_id: 1 |
Loading…
Reference in new issue