summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-03-01 13:56:24 +0100
committerhukl <contact@smyck.org>2009-03-01 13:56:24 +0100
commitc7757522c2750675fab6c4324453e237b863d84c (patch)
tree3cc50a7f8e5c5ab9dbad1957863422a772dddf14 /test/fixtures
parent62db596a0807059afe321930c2015b30f8b0e6d9 (diff)
refactored drafts which are now identified by a draft_id on the node rather than by guessing it. i was really that close to make that mistake again.
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/nodes.yml3
-rw-r--r--test/fixtures/pages.yml15
2 files changed, 18 insertions, 0 deletions
diff --git a/test/fixtures/nodes.yml b/test/fixtures/nodes.yml
index 642d937..8574c1b 100644
--- a/test/fixtures/nodes.yml
+++ b/test/fixtures/nodes.yml
@@ -14,6 +14,7 @@ first_child:
14 lft: 2 14 lft: 2
15 rgt: 3 15 rgt: 3
16 parent_id: 1 16 parent_id: 1
17 draft_id: 100
17 slug: first_child 18 slug: first_child
18 unique_name: first_child 19 unique_name: first_child
19 20
@@ -22,6 +23,7 @@ second_child:
22 lft: 4 23 lft: 4
23 rgt: 5 24 rgt: 5
24 parent_id: 1 25 parent_id: 1
26 draft_id: 101
25 slug: second_child 27 slug: second_child
26 unique_name: second_child 28 unique_name: second_child
27 29
@@ -30,5 +32,6 @@ third_child:
30 lft: 6 32 lft: 6
31 rgt: 7 33 rgt: 7
32 parent_id: 1 34 parent_id: 1
35 draft_id: 102
33 slug: third_child 36 slug: third_child
34 unique_name: third_child \ No newline at end of file 37 unique_name: third_child \ No newline at end of file
diff --git a/test/fixtures/pages.yml b/test/fixtures/pages.yml
index 614b9a6..8171b38 100644
--- a/test/fixtures/pages.yml
+++ b/test/fixtures/pages.yml
@@ -8,4 +8,19 @@ one:
8two: 8two:
9 id: 2 9 id: 2
10 revision: 1 10 revision: 1
11 node_id: 4
12
13draft1:
14 id: 100
15 revision: 1
16 node_id: 2
17
18draft2:
19 id: 101
20 revision: 1
21 node_id: 3
22
23draft3:
24 id: 102
25 revision: 1
11 node_id: 4 \ No newline at end of file 26 node_id: 4 \ No newline at end of file