Add view tests for CI/CD status badge partial
Description
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7989 we are going to refine CI build statuses. We removed multiple view helpers that were using conditionals to pick the correct icon, label and text, using separate classes and leveraging polymorphism to inject correct status object to the partial.
Status classes are testable in isolation, but we also may want to add view tests for badge partial, since showing a correct badge is a mission critical stuff for CI/CD.
Proposal
Add view tests for CI/CD status badge partial to spec/views/
.