• Sean McGivern's avatar
    Move Issue#{referenced,closed_by}_merge_requests to service · c73da6c1
    Sean McGivern authored
    These methods don't really need to be on the Issue model. Issue#related_branches
    can also be moved to a service, but we can do that in a separate commit.
    This commit does not change any behaviour; it just moves code around, renames
    the service, and refactors the specs.
issue_spec.rb 23.6 KB