Update and add scenario's for testing interaction with new deferred container on context page and fix regressions

This commit is contained in:
Reinier Balt 2012-03-23 20:39:04 +01:00
parent dd957f0feb
commit 7435b1ba93
14 changed files with 161 additions and 112 deletions

View file

@ -286,7 +286,7 @@ class ContextsController < ApplicationController
@projects = current_user.projects
@count = @not_done_todos.size
@count = @not_done_todos.count + @deferred.count + @pending.count
end
end

View file

@ -1371,6 +1371,7 @@ class TodosController < ApplicationController
@original_item_due = @todo.due
@original_item_due_id = get_due_id_for_calendar(@todo.due)
@original_item_predecessor_list = @todo.predecessors.map{|t| t.specification}.join(', ')
@todo_was_deferred_or_blocked = @todo.deferred? || @todo.pending?
end
def update_project