• Paco Guzman's avatar
    Simplify Mentionable concern instance methods · 4ff345c4
    Paco Guzman authored
    We remove some arguments that are rarely used or 
    used just to simplify setups on specs.
    
    Modified Mentionable#create_new_cross_references method 
    we don’t need to calculate previous references to avoid the 
    duplication because we do that at database level when 
    creating references extracted from the current entity state.
    
    MergeRequests won’t create cross_references for commits that are included so we change a spec to use a different merge request to make references to commits to other branches
    4ff345c4
mentionable_shared_examples.rb 4.77 KB