diff options
| author | hukl <contact@smyck.org> | 2009-11-02 22:19:32 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-11-02 22:19:32 +0100 |
| commit | 3b35b3a0bba7991a243eb794303b838ae90bb69c (patch) | |
| tree | 604095eff2e87d2c9b201514ab3d931f73a45c43 /test/test_helper.rb | |
| parent | bebbe35c5b0c26d1d8f75fa98f239e41f2aee054 (diff) | |
add tests
Diffstat (limited to 'test/test_helper.rb')
| -rw-r--r-- | test/test_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index cda54bc..22747bb 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb | |||
| @@ -42,6 +42,7 @@ 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 | ||
| 45 | draft.title = "Test" | 46 | draft.title = "Test" |
| 46 | draft.abstract = "Test" | 47 | draft.abstract = "Test" |
| 47 | draft.body = "Test" | 48 | draft.body = "Test" |
