File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
app/policies/better_together
spec/features/conversations Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,7 @@ def permitted_participants
4343 manager_ids = BetterTogether ::PersonPlatformMembership . where ( role_id : role . id ) . pluck ( :member_id )
4444 BetterTogether ::Person . where ( id : manager_ids )
4545 . or ( BetterTogether ::Person . privacy_public . where ( 'preferences @> ?' ,
46- # rubocop:todo Layout/LineLength
47- { receive_messages_from_members : true } . to_json ) )
48- # rubocop:enable Layout/LineLength
46+ { receive_messages_from_members : true } . to_json ) ) # rubocop:disable Layout/LineLength
4947 . distinct
5048 end
5149 end
Original file line number Diff line number Diff line change 2929 target = create ( :better_together_user , :confirmed )
3030 # Ensure target is public and opted-in to receive messages from members
3131 target . person . update! ( privacy : 'public' ,
32- # rubocop:todo Layout/LineLength
33- preferences : ( target . person . preferences || { } ) . merge ( 'receive_messages_from_members' => true ) )
34- # rubocop:enable Layout/LineLength
32+ preferences : ( target . person . preferences || { } ) . merge ( 'receive_messages_from_members' => true ) ) # rubocop:disable Layout/LineLength
3533
3634 expect do
3735 create_conversation ( [ target . person ] , first_message : 'Hi there' )
You can’t perform that action at this time.
0 commit comments