From c7757522c2750675fab6c4324453e237b863d84c Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 1 Mar 2009 13:56:24 +0100 Subject: 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. --- test/fixtures/nodes.yml | 3 +++ test/fixtures/pages.yml | 15 +++++++++++++++ 2 files changed, 18 insertions(+) (limited to 'test/fixtures') diff --git a/test/fixtures/nodes.yml b/test/fixtures/nodes.yml index 642d937a..8574c1b3 100644 --- a/test/fixtures/nodes.yml +++ b/test/fixtures/nodes.yml @@ -14,6 +14,7 @@ first_child: lft: 2 rgt: 3 parent_id: 1 + draft_id: 100 slug: first_child unique_name: first_child @@ -22,6 +23,7 @@ second_child: lft: 4 rgt: 5 parent_id: 1 + draft_id: 101 slug: second_child unique_name: second_child @@ -30,5 +32,6 @@ third_child: lft: 6 rgt: 7 parent_id: 1 + draft_id: 102 slug: third_child unique_name: third_child \ No newline at end of file diff --git a/test/fixtures/pages.yml b/test/fixtures/pages.yml index 614b9a61..8171b381 100644 --- a/test/fixtures/pages.yml +++ b/test/fixtures/pages.yml @@ -8,4 +8,19 @@ one: two: id: 2 revision: 1 + node_id: 4 + +draft1: + id: 100 + revision: 1 + node_id: 2 + +draft2: + id: 101 + revision: 1 + node_id: 3 + +draft3: + id: 102 + revision: 1 node_id: 4 \ No newline at end of file -- cgit v1.3