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

@ -99,6 +99,10 @@ module NavigationHelpers
@source_view = "context"
@context = @current_user.contexts.find_by_name($1)
context_path(@context, options)
when /the "([^\"]*)" context/i
@source_view = "context"
@context = @current_user.contexts.find_by_name($1)
context_path(@context, options)
when /the "([^\"]*)" project for user "([^\"]*)"/i
@source_view = "project"
@project = User.find_by_login($2).projects.find_by_name($1)