summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-11-17 12:35:04 +0100
committerhukl <contact@smyck.org>2009-11-17 12:35:04 +0100
commitbc6080a332806c2d0d359e05aaee2a7865d08673 (patch)
tree47e811f99c60a82d0dd6004b257d3a88a3d42652 /test/test_helper.rb
parentc4b8b7f61d0c455aa77f72b96de4ba02ed03aa41 (diff)
don't set the published_at upon creation of the first draft but rather on publish
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 22747bb..cda54bc 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -42,7 +42,6 @@ class ActiveSupport::TestCase
42 def create_node_with_published_page 42 def create_node_with_published_page
43 node = create_node_with_draft 43 node = create_node_with_draft
44 draft = node.draft 44 draft = node.draft
45 draft.published_at = Time.now
46 draft.title = "Test" 45 draft.title = "Test"
47 draft.abstract = "Test" 46 draft.abstract = "Test"
48 draft.body = "Test" 47 draft.body = "Test"