fixed deprecation warnings in spec/controller/*

You can't make this change without also changing the form so that it returns an array value.