> 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
"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
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