diff options
| author | hukl <contact@smyck.org> | 2009-09-17 12:03:28 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-17 12:03:37 +0200 |
| commit | bd408aaae6d7a20fecc7673d807d3c88392cf516 (patch) | |
| tree | 0629c9fa5997bd21677c310130ad46942e2c6ace /test/functional | |
| parent | c7b11c1ba050e23ea460e26073beba5b7f15c0f1 (diff) | |
switched tagging plugin again for postgresql compatibility
Diffstat (limited to 'test/functional')
| -rw-r--r-- | test/functional/nodes_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
| 25 | post( | 25 | post( |
| 26 | :create, | 26 | :create, |
| 27 | :kind => "generic", | 27 | :kind => "generic", |
| 28 | :parent_id => Node.first.id, | 28 | :parent_id => Node.root.id, |
| 29 | :title => "Hello Spaceboy" | 29 | :title => "Hello Spaceboy" |
| 30 | ) | 30 | ) |
| 31 | end | 31 | end |
| 32 | 32 | ||
| 33 | assert_response :redirect | 33 | assert_response :redirect |
| 34 | assert_equal "hello-spaceboy", Node.last.slug | 34 | assert_equal "hello-spaceboy", Node.last.slug |
| 35 | assert_equal Node.last.parent_id, Node.first.id | 35 | assert_equal Node.last.parent_id, Node.root.id |
| 36 | assert_equal 1, Node.last.level | 36 | assert_equal 1, Node.last.level |
| 37 | end | 37 | end |
| 38 | 38 | ||
