Build instead create in label_link model spec
What does this MR do?
This MR improves spec for label link model.
Are there points in the code the reviewer needs to double check?
No
Why was this MR needed?
Because for check validations, we can use build instead create a record in the database.
Screenshots (if relevant)
No
Does this MR meet the acceptance criteria?
- n/a CHANGELOG entry added
- n/a Documentation created/updated
- n/a API support added
- Tests
- n/a Added for this feature/bug
-
All builds are passing
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) - n/a Squashed related commits together