On Tue, 10 Oct 2006, Narayana K. wrote:
i had removed assert_response. but now it produces the following error
expecting <“calendar/year”> but rendering with
could u plz give me a solution for that.
The general solution for tests that fail is to fix your code
Without seeing what’s in your controller, it’s impossible to give very
specific advice beyond just guessing.
David A. Black | [email protected]
Author of “Ruby for Rails”  | Ruby/Rails training & consultancy 
DABlog (DAB’s Weblog)  | Co-director, Ruby Central, Inc. 
 http://www.manning.com/black |  http://www.rubypowerandlight.com
 http://dablog.rubypal.com |  http://www.rubycentral.org
Nice to see u response to my question. first of all thx.
I just pasted my code below, plz go through it & give me a solution for
class CalendarController < ApplicationController
def year #display current year calendar
redirect_to :action => ‘list’
@date = Date.parse((params[:date] || Date.today).to_s)