Ruby on Rails Monday, August 2, 2010

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...@gmail.com> 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment