fix failing tests

This commit is contained in:
Reinier Balt 2011-02-03 22:44:26 +01:00
parent 463757a338
commit 514045e8cb
5 changed files with 10 additions and 8 deletions

View file

@ -28,7 +28,7 @@ class FeedlistController < ApplicationController
def get_feeds_for_context
@context = current_user.contexts.find params[:context_id]
respond_to do |format|
format.html { render :text => "This page should not be called directly"}
format.html { render :file => 'feedlist/get_feeds_for_context'}
format.js
end
end
@ -36,7 +36,7 @@ class FeedlistController < ApplicationController
def get_feeds_for_project
@project = current_user.projects.find params[:project_id]
respond_to do |format|
format.html { render :text => "This page should not be called directly"}
format.html { render :file => "feedlist/get_feeds_for_project"}
format.js
end
end

View file

@ -49,7 +49,7 @@ class NotesController < ApplicationController
@saved = @note.save
respond_to do |format|
format.html
format.js
format.js { render }
end
end

View file

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%= stylesheet_link_tag "scaffold" %>
<%= javascript_include_tag 'jquery-1.4.4.min', 'jquery.cookie' %>
<%= javascript_include_tag 'jquery-1.5.min', 'jquery.cookie' %>
<title><%= @page_title -%></title>

View file

@ -2,9 +2,9 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%= stylesheet_link_tag 'standard','superfish','niftyCorners', 'jquery-ui-1.8.7.custom', :cache => true %>
<%= stylesheet_link_tag 'standard','superfish','niftyCorners', 'jquery-ui-1.8.9.custom', :cache => true %>
<%= stylesheet_link_tag "print", :media => "print" %>
<%= javascript_include_tag 'jquery-1.4.4.min', 'jquery-ui-1.8.7.custom.min', 'jquery.truncator',
<%= javascript_include_tag 'jquery-1.5.min', 'jquery-ui-1.8.9.custom.min', 'jquery.truncator',
'jquery.jeditable.mini', 'jquery.cookie', 'jquery.blockUI', 'jquery.form', :cache => 'jquery-all' %>
<%= javascript_include_tag 'hoverIntent','superfish','application',
'accesskey-hints','niftycube','swfobject', :cache => 'tracks' %>