Add the :migration metadata, and don't use factories in FixWronglyRenamedRoutes spec
What does this MR do?
Port of EE https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4119 to CE.
Port of EE https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4119 to CE.