diff options
| author | hukl <contact@smyck.org> | 2009-03-02 21:23:20 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-02 21:23:20 +0100 |
| commit | 0566800f0f22829fcdb14c383a0388b4f1ca60f0 (patch) | |
| tree | 72f32fc5c3b8e0f4da1b06feca24bfad4c3cbb2e /test/functional | |
| parent | fecf81e546b174ee5a8fb939b234aae2a1cb91b0 (diff) | |
refactoring of the page cloning and draft creating
Diffstat (limited to 'test/functional')
| -rw-r--r-- | test/functional/nodes_controller_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/nodes_controller_test.rb b/test/functional/nodes_controller_test.rb index afe7576..20090d0 100644 --- a/test/functional/nodes_controller_test.rb +++ b/test/functional/nodes_controller_test.rb | |||
| @@ -37,6 +37,8 @@ class NodesControllerTest < ActionController::TestCase | |||
| 37 | 37 | ||
| 38 | get :edit, :id => node.id | 38 | get :edit, :id => node.id |
| 39 | assert_response :success | 39 | assert_response :success |
| 40 | assert_select("#page_title[value=Hello]") | ||
| 41 | assert_select("#page_body", "World") | ||
| 40 | 42 | ||
| 41 | node.reload | 43 | node.reload |
| 42 | assert_equal 2, node.pages.length | 44 | assert_equal 2, node.pages.length |
