[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-tf4

[rspec-users] Spec'ing ApplicationController

2007-08-27 Thread sbellware
Folks, I'd like to spec the behaviors that I'm adding to ApplicationController. Specifically, I'm adding: def authenticated? session[:username] != nil end I described ApplicationController, but couldn't figure out how to call the authenticated method. I'm probably going about this quite wro