Small refactor of `mutations/epic_tree/reorder_spec.rb` to consider
This issue was created from this discussion https://gitlab.com/gitlab-org/security/gitlab/-/merge_requests/3045#note_1295911717.
In ee/spec/requests/api/graphql/mutations/epic_tree/reorder_spec.rb
, would it make sense to define the following once within context "when the user has permission"
, and remove it from the sub-contexts?
before do
group.add_guest(current_user)
end