summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-07-19 18:40:07 +0200
committerhukl <contact@smyck.org>2009-07-19 18:40:07 +0200
commit0d8879354fbd251e4509a0ab5c6b6e47aa3fa47d (patch)
tree0009e7a848b47a856527d70701105523d72e6787 /test
parent00362bb4817ecc82856e9a9ae5fb6821b3182c6f (diff)
fixed link_for_path issue
Diffstat (limited to 'test')
-rw-r--r--test/functional/nodes_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
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
6 6
7 def test_get_index 7 def test_get_index
8 Node.root.descendants.delete_all 8 Node.root.descendants.delete_all
9 test_node = Node.create :slug => "foo"
10 test_node.move_to_child_of Node.root
9 login_as :quentin 11 login_as :quentin
10 get :index 12 get :index
11 assert_response :success 13 assert_response :success