How to test DELETE :destroy with Shoulda


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?


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