integration spec for create