From 0d8879354fbd251e4509a0ab5c6b6e47aa3fa47d Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 19 Jul 2009 18:40:07 +0200 Subject: fixed link_for_path issue --- test/functional/nodes_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/functional/nodes_controller_test.rb b/test/functional/nodes_controller_test.rb index 1c7e607..ff9aa68 100644 --- a/test/functional/nodes_controller_test.rb +++ b/test/functional/nodes_controller_test.rb @@ -6,6 +6,8 @@ class NodesControllerTest < ActionController::TestCase def test_get_index Node.root.descendants.delete_all + test_node = Node.create :slug => "foo" + test_node.move_to_child_of Node.root login_as :quentin get :index assert_response :success -- cgit v1.3