mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 12:28:48 +01:00
get some wip cucumber tests running
This commit is contained in:
parent
1372bb110e
commit
c0115eacd7
11 changed files with 273 additions and 179 deletions
|
|
@ -107,6 +107,7 @@ class TodosController < ApplicationController
|
|||
end
|
||||
|
||||
@todo.reload if @saved
|
||||
@todo_was_created_deferred = @todo.deferred?
|
||||
|
||||
respond_to do |format|
|
||||
format.html { redirect_to :action => "index" }
|
||||
|
|
@ -415,7 +416,8 @@ class TodosController < ApplicationController
|
|||
@original_item_due = @todo.due
|
||||
@context_id = @todo.context_id
|
||||
@project_id = @todo.project_id
|
||||
|
||||
@todo_was_destroyed_from_deferred_state = @todo.deferred?
|
||||
|
||||
# activate successors if they only depend on this todo
|
||||
activated_successor_count = 0
|
||||
@pending_to_activate = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue