Re: [rspec-users] Problems testing destroy method in rspec2

2010-04-26 Thread Mauricio Aniche
Hi, Just to close this one.. RSpec wasn't the problem! My bad! :) Thanks, Mauricio On Mon, Mar 29, 2010 at 1:20 PM, Mauricio Aniche wrote: > Hi, > > Is there anyone else who had this problem? > > Thanks, > Mauricio > > > On Thu, Mar 25, 2010 at 10:15 AM,

Re: [rspec-users] Problems testing destroy method in rspec2

2010-03-29 Thread Mauricio Aniche
Hi, Is there anyone else who had this problem? Thanks, Mauricio On Thu, Mar 25, 2010 at 10:15 AM, Mauricio Aniche wrote: > Hi David, > > I am using rspec2 beta4, which is the latest version in gemcutter. > > Hi Julian, > > The problem only happens in my spec. My rails3 ap

Re: [rspec-users] Problems testing destroy method in rspec2

2010-03-25 Thread Mauricio Aniche
Chelimsky wrote: > On Wed, Mar 24, 2010 at 10:39 PM, Mauricio Aniche > wrote: >> Hi, >> I am trying to test the destroy method in my rails 3 controller, but I >> always get an "no route matches {}" error. But the route do exist, as I >> can >> see by runn

[rspec-users] Problems testing destroy method in rspec2

2010-03-24 Thread Mauricio Aniche
Hi, I am trying to test the destroy method in my rails 3 controller, but I always get an "no route matches {}" error. But the route do exist, as I can see by running rake routes. I have something like this: delete :destroy, :id => "1" The stack trace: Failure/Error: delete :destroy, :id => "