Call .dup in test to fix broken master
Call `.dup` on the class passed in, as a test in this set of examples calls `belongs_to` on the class, thereby adding a new belongs_to relationship to the model that can break remaining specs in the test suite. https://gitlab.com/gitlab-org/gitlab/issues/205382
Showing
Please register or sign in to comment