Fixed node functional tests. A couple of changes to the old_node model and node controller for changesets.
This commit is contained in:
parent
734cbb967d
commit
a2498928e4
6 changed files with 21 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue