Workaround for specs to pass.

assign(key, value) not accessible in controller_specs. Created another method for controller_specs to do use the old assigns[]. This is a temporary workaround.