fix cucumber scenario's.

One still fails on Cookie overflow, but works testing by hand...
This commit is contained in:
Reinier Balt 2013-05-13 17:13:26 +02:00
parent 7465ecce26
commit 8ffacca393
6 changed files with 11 additions and 23 deletions

View file

@ -61,8 +61,8 @@ class ProjectsController < ApplicationController
def review
@source_view = params['_source_view'] || 'review'
@page_title = t('projects.list_reviews')
@projects = current_user.projects.all
@contexts = current_user.contexts.all
@projects = current_user.projects.load
@contexts = current_user.contexts.load
@projects_to_review = current_user.projects.select {|p| p.needs_review?(current_user)}
@stalled_projects = current_user.projects.select {|p| p.stalled?}
@blocked_projects = current_user.projects.select {|p| p.blocked?}