Write ::destroy_resource method & tests