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 <[email protected]> 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 [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