Fixes attachment controller spec.