From 0566800f0f22829fcdb14c383a0388b4f1ca60f0 Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 2 Mar 2009 21:23:20 +0100 Subject: refactoring of the page cloning and draft creating --- test/functional/nodes_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/functional/nodes_controller_test.rb') 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 get :edit, :id => node.id assert_response :success + assert_select("#page_title[value=Hello]") + assert_select("#page_body", "World") node.reload assert_equal 2, node.pages.length -- cgit v1.3