summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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