[rspec-users] Spec'ing ApplicationController
sbellware
sbellware at hotmail.com
Tue Aug 14 19:36:53 EDT 2007
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 wrongly and would
appreciate any hints?
Thanks,
Scott
--
View this message in context: http://www.nabble.com/Spec%27ing-ApplicationController-tf4270301.html#a12154175
Sent from the rspec-users mailing list archive at Nabble.com.
More information about the rspec-users
mailing list