From bd408aaae6d7a20fecc7673d807d3c88392cf516 Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 17 Sep 2009 12:03:28 +0200 Subject: switched tagging plugin again for postgresql compatibility --- test/functional/nodes_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional') diff --git a/test/functional/nodes_controller_test.rb b/test/functional/nodes_controller_test.rb index 801f2c0..3293f42 100644 --- a/test/functional/nodes_controller_test.rb +++ b/test/functional/nodes_controller_test.rb @@ -25,14 +25,14 @@ class NodesControllerTest < ActionController::TestCase post( :create, :kind => "generic", - :parent_id => Node.first.id, + :parent_id => Node.root.id, :title => "Hello Spaceboy" ) end assert_response :redirect assert_equal "hello-spaceboy", Node.last.slug - assert_equal Node.last.parent_id, Node.first.id + assert_equal Node.last.parent_id, Node.root.id assert_equal 1, Node.last.level end -- cgit v1.3