summaryrefslogtreecommitdiff
path: root/test/functional/content_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/content_controller_test.rb')
-rw-r--r--test/functional/content_controller_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/content_controller_test.rb b/test/functional/content_controller_test.rb
index b76e1d5..4fb3035 100644
--- a/test/functional/content_controller_test.rb
+++ b/test/functional/content_controller_test.rb
@@ -94,8 +94,7 @@ class ContentControllerTest < ActionController::TestCase
94 protected 94 protected
95 95
96 def create_node_under_root slug 96 def create_node_under_root slug
97 node = Node.create! :slug => slug 97 node = Node.root.children.create! :slug => slug
98 node.move_to_child_of Node.root
99 node 98 node
100 end 99 end
101 100