fix rails controller specs with undefined controller instance