Use `create(:ci_pipeline, project: project)`(Factory) instead of `project.pipelines.create` in spec
The following discussion from gitlab-ce!13194 should be addressed: - [ ] @dosuken123 started a [discussion](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13194#note_39145717): > We should use `create(ci_pipeline, ...)` instead of `project.pipelines.create`. This is painful when we introduce a new `validates present: true`. /cc @godfat
issue