The problem is that when running the app with Mongrel I get a correct
302 but when testing the answer is
<html><body>You are being <a href="http://test.host/
configurations">redirected</a>.</body></html>
I am using Rails 2.3.8
I do not think that is correct, it seems a bug. Any reply at all?
On 30 July, 17:22, rtacconi
<rtacc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> I tried to find some help in Shoulda list without a positive result. I
> am able to test DELETE :destroy with Test::Unit but I cannot with
> Shoulda because instead of a 302 (redirect) I get 200.
>
> Do you have a basic and simple example on how to test the delete part
> of the CRUD?
>
> Thanks.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.