Skip to content

Commit

Permalink
Break up long line
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Feb 28, 2020
1 parent aa7e4eb commit 381aa31
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/models/ability_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ def admin_permissions
end

def only_authorized_permissions
perms = staff_specified_permissions + staff_create_permissions + staff_read_permissions + staff_manage_permissions + admin_permissions # rubocop:disable Metrics/LineLength
perms = staff_specified_permissions \
+ staff_create_permissions \
+ staff_read_permissions \
+ staff_manage_permissions \
+ admin_permissions

perms -= [BatchRecordUpdate]
perms
end
Expand Down

0 comments on commit 381aa31

Please sign in to comment.