Actualizado plugin Redmine Questions 1.0.0 light

This commit is contained in:
Manuel Cillero 2019-03-21 17:52:05 +01:00
parent 27e60f8ec1
commit 5d7889f1c9
140 changed files with 5342 additions and 1430 deletions

View file

@ -0,0 +1,17 @@
_fixture:
model_class: Comment
comment_001:
content: text for cooment 001
commented_type: Question
commented_id: 1
author_id: 1
comment_002:
content: text for cooment 002
commented_type: Question
commented_id: 2
author_id: 1
comment_003:
content: text for cooment 003 (comment for answer!)
commented_type: Question
commented_id: 5
author_id: 1

View file

@ -0,0 +1,16 @@
comment_001:
comments: text for cooment 001
commented_type: Question
commented_id: 1
author_id: 1
comment_002:
comments: text for cooment 002
commented_type: Question
commented_id: 2
author_id: 1
comment_003:
comments: text for cooment 003 (comment for answer!)
commented_type: Question
commented_id: 5
author_id: 1

View file

@ -0,0 +1,26 @@
question_001:
id: 1
subject: Hard question
content: Text for hard question
author_id: 1
section_id: 1
question_002:
id: 2
subject: Another hard question
content: Text for Another hard question
author_id: 2
section_id: 1
featured: true
question_003:
id: 3
subject: Simple question
content: Text for simple question
author_id: 1
section_id: 2
question_004:
id: 4
subject: Another hard question
content: Text for simple hard question
author_id: 2
section_id: 2
locked: true

View file

@ -0,0 +1,12 @@
answer_001:
id: 1
content: This is answer for question_001
question_id: 1
author_id: 2
accepted: true
answer_002:
id: 2
content: This is answer for question_002
question_id: 2
author_id: 1
accepted: false

View file

@ -0,0 +1,25 @@
section_001:
id: 1
name: FAQ
section_type: questions
project_id: 1
section_002:
id: 2
name: Ideas
section_type: ideas
project_id: 2
section_003:
id: 3
name: Global FAQ
section_type: questions
project_id: 1
section_004:
id: 4
name: Off topic
section_type: questions
project_id: 1
section_005:
id: 5
name: Ideas in project 1
section_type: ideas
project_id: 1

View file

@ -0,0 +1,19 @@
tagging_001:
tag_id: 1
taggable_id: 1
taggable_type: Question
tagging_002:
tag_id: 1
taggable_id: 2
taggable_type: Question
tagging_003:
tag_id: 2
taggable_id: 3
taggable_type: Question
tagging_004:
tag_id: 2
taggable_id: 4
taggable_type: Question

View file

@ -0,0 +1,6 @@
tag_hard:
id: 1
name: hard
tag_simple:
id: 2
name: simple