Fixed node functional tests. A couple of changes to the old_node model and node controller for changesets.

This commit is contained in:
Matt Amos 2008-10-13 14:08:31 +00:00
parent 734cbb967d
commit a2498928e4
6 changed files with 21 additions and 12 deletions

View file

@ -96,7 +96,7 @@ class NodeController < ApplicationController
if new_node and new_node.id == node.id
node.delete_with_history(new_node, @user)
render :nothing => true, :status => :success
render :nothing => true
else
render :nothing => true, :status => :bad_request
end