Rspec - Rails - How to follow a redirect
Posted
by Jonas Söderström
on Stack Overflow
See other posts from Stack Overflow
or by Jonas Söderström
Published on 2010-05-19T12:21:37Z
Indexed on
2010/05/20
0:30 UTC
Read the original article
Hit count: 317
Does anyone know how to make rspec follow a redirect (in a controller spec)? (e.g test/unit has follow_redirect!)
I have tried "follow_redirect!" and "follow_redirect" but only get
undefined method `follow_redirect!' for #<Spec::Rails::Example::ControllerExampleGroup::Subclass_1:0xb6df5294>
© Stack Overflow or respective owner