I just copy/pasted from your code in entities_controller_spec :-)