fix the deprecation warnings that were shown during the tests

This commit is contained in:
Reinier Balt 2011-01-07 16:46:20 +01:00
parent a832417c59
commit 09830d044d
13 changed files with 23 additions and 22 deletions

View file

@ -41,5 +41,5 @@ function html_for_error_messages() {
}
function html_for_project_listing() {
return "<%= @saved ? escape_javascript(render(:partial => 'project_listing', :locals => { :project_listing => @project })) : "" %>";
return "<%= @saved ? escape_javascript(render(:partial => 'project_listing', :object => @project)) : "" %>";
}