diff options
| author | hukl <contact@smyck.org> | 2009-10-20 23:30:39 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-10-20 23:30:39 +0200 |
| commit | 20056a0e9b4f96680ca0c643166885f65dcd0be7 (patch) | |
| tree | a52396b8781ceacfbc33715d6b360a9bb32a77a7 /test/test_helper.rb | |
| parent | 8d8b530e2c9f5e2debb2d6abb421187c31733c34 (diff) | |
allow to overwrite the original user in edit view
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 023ed96..cda54bc 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb | |||
| @@ -45,6 +45,7 @@ class ActiveSupport::TestCase | |||
| 45 | draft.title = "Test" | 45 | draft.title = "Test" |
| 46 | draft.abstract = "Test" | 46 | draft.abstract = "Test" |
| 47 | draft.body = "Test" | 47 | draft.body = "Test" |
| 48 | draft.user = users(:quentin) | ||
| 48 | node.publish_draft! | 49 | node.publish_draft! |
| 49 | node | 50 | node |
| 50 | end | 51 | end |
