spec use detail instead of detail_attributes, all passed