fix failing cucumber scenario's and update gems

This commit is contained in:
Reinier Balt 2013-09-18 10:38:20 +02:00
parent 5164c404db
commit bbf6cdf702
8 changed files with 32 additions and 24 deletions

View file

@ -136,8 +136,8 @@ class ProjectsController < ApplicationController
limit(current_user.prefs.show_number_completed).
includes(Todo::DEFAULT_INCLUDES) unless @max_completed == 0
@count = @not_done_todos.size
@down_count = @count + @deferred_todos.size + @pending_todos.size
@down_count = @not_done_todos.size + @deferred_todos.size + @pending_todos.size
@count=@down_count
@next_project = current_user.projects.next_from(@project)
@previous_project = current_user.projects.previous_from(@project)
@default_tags = @project.default_tags