Re: [rspec-users] Spec rendering xml.erb suspectly doen't work

2008-11-25 Thread Peter Ehrenberg
> By default, controller specs don't actually render the views. Ah. Ok thanks. /Peter ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Spec rendering xml.erb suspectly doen't work

2008-11-25 Thread Pat Maddox
"Peter Ehrenberg" <[EMAIL PROTECTED]> writes: > I have to spec an contoller action witch is (only) rendering an > xml.erb template. > The action looks like this: > > def index > respond_to do |format| > format.xml > end > end > > The "index.xml.erb" template includes (for now) on

[rspec-users] Spec rendering xml.erb suspectly doen't work

2008-11-25 Thread Peter Ehrenberg
I have to spec an contoller action witch is (only) rendering an xml.erb template. The action looks like this: def index respond_to do |format| format.xml end end The "index.xml.erb" template includes (for now) only the string "XML". This works fine if I requests the action with