[rspec-users] Can't get should redirect_to match to work

2007-08-10 Thread sbellware

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?

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
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


Re: [rspec-users] Can't get should redirect_to match to work

2007-08-10 Thread David Chelimsky
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
 rspec-users@rubyforge.org
 http://rubyforge.org/mailman/listinfo/rspec-users

___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users