fix syntax error in attachments_controller_spec