> >  Hi all.
> > I use render :text as below
>
> > render :text => err_str, :status => 200
>
> > I want to test if rendered text
> > But, could not check by assert_template
>
> > How to test rendering?
>
> You could just check the value of response.body
>
> Fred
>
>
>
>
>
>
>
> > appreciate any help.
> > Thank you
> > Masaki.

Thanks, Fred!

I could test.

Thank you so much!
Masaki

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to