diff options
Diffstat (limited to 'test/functional/nodes_controller_test.rb')
| -rw-r--r-- | test/functional/nodes_controller_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/nodes_controller_test.rb b/test/functional/nodes_controller_test.rb index 85f151a..98e694e 100644 --- a/test/functional/nodes_controller_test.rb +++ b/test/functional/nodes_controller_test.rb | |||
| @@ -15,7 +15,9 @@ class NodesControllerTest < ActionController::TestCase | |||
| 15 | test_node.move_to_child_of Node.root | 15 | test_node.move_to_child_of Node.root |
| 16 | 16 | ||
| 17 | login_as :quentin | 17 | login_as :quentin |
| 18 | put :update, :id => test_node.id, :page => {:title => "Hello", :body => "There"} | ||
| 18 | 19 | ||
| 19 | 20 | assert_equal "Hello", test_node.draft.title | |
| 21 | assert_equal "There", test_node.draft.body | ||
| 20 | end | 22 | end |
| 21 | end | 23 | end |
