• Heinrich Lee Yu's avatar
    Fix membership factories · 44ca2456
    Heinrich Lee Yu authored
    The underlying association is `source` and we just add these `#project`
    and `#group` methods that returns `source`.
    
    That's why when doing something like:
    
    ```
    member = build(:group_member, group: build(:group))
    ```
    
    `member.group` is `nil`
    44ca2456
member_spec.rb 24 KB