• TM Lee's avatar
    Refactor member view by using presenter · 2cf3fc18
    TM Lee authored
    - Create MemberPresenter alongside with GroupMemberPresenter and ProjectMemberPresenter
    - Make Member model Presentable
    - Move action_member_permission from MembersHelper into the MemberPresenter
    - Added rspec using double, separate specs for GroupMemberPresenter and ProjectMemberPresenter
    
    Fixes #28004.
    Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
    2cf3fc18
members_helper_spec.rb 3.4 KB