[rspec-users] Problem with response.should render_template

Gastón Ramos gramos at rectorado.unl.edu.ar
Thu Jun 7 15:53:45 EDT 2007


El jue, 07 de jun de 2007, a las 01:59:01 -0500, David Chelimsky dijo:
> On 6/7/07, Gaston Ramos <gramos at rectorado.unl.edu.ar> wrote:
> > Hello, I have problems with this spec controllers:
> >
> > http://pastie.caboo.se/68634
> >
> > when I run:
> >  rake spec:controllers
> >
> > I get this error:
> >
> > ...............F......
> >
> > 1)
> > 'DocTypeController  should update and redirect to show' FAILED
> > expected redirect to {:action=>"show", :id=>1}, got redirect to
> > "http://test.host/doc_type/show/%23%3CSpec%3A%3AMocks%3A%3AMock%3A0xb74a0d14%3E"
> > ./spec/controllers/doc_type_controller_spec.rb:63:
> >
> > Finished in 0.386261 seconds
> >
> > 22 examples, 1 failure
> >
> > I would appreciate any help.
> 
> Can you please add the controller code to the pastie?


http://pastie.caboo.se/68657

> 
> >
> > --
> > Gastón Ramos
> >
> > "I always thought Smalltalk would beat Java, I just didn't know it would be
> > called 'Ruby' when it did."
> >  -- Kent Beck
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
> 

-- 
Gastón Ramos

"I always thought Smalltalk would beat Java, I just didn't know it would be
called 'Ruby' when it did."
 -- Kent Beck


More information about the rspec-users mailing list