Topic: assert assigns() not working
This one really has me scratching my head. In a functional test, I'm trying to verify whether the variable @email_test_button_disabled was set to true or false. I put verbose puts statements in my controller, and I positively verified it's being set by printing the assigns via assigns.keys.sort.each {|key| puts key}. It's there! Yet, assert assigns(:email_test_button_disabled) nor assert assigns['email_test_button_disabled'] detect it. WTH!? Ideas anyone? It's annoying to run into some weird roadblock just about every day. Hopefully I'll get over the hump soon.
thanks,
brian