On 8/10/07, sbellware <[EMAIL PROTECTED]> wrote:
>
> Folks,
>
> I've posted to the simple example I'm working with as well as the spec code
> and results here:
> http://pastie.caboo.se/86750
>
> I can't seem to get this to work. Any ideas?
As of some time ago, response.should redirect_to should come after the
action. So:
it "get foo" do
get 'foo'
response.should redirect_to(:action => 'bar')
end
>
> Thanks,
> Scott
> --
> View this message in context:
> http://www.nabble.com/Can%27t-get-should-redirect_to-match-to-work-tf4251891.html#a12101072
> Sent from the rspec-users mailing list archive at Nabble.com.
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users