diff options
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 |
