Skip to content

Commit

Permalink
update specs
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Oct 7, 2024
1 parent 6fea686 commit 0e9873d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/support/user_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def user_matcher(user, include_private_data: false)
)
base_hash[:signed_contract_names] = FinePrint::Contract.published.latest.signed_by(user).pluck(:name)
base_hash[:external_ids] = a_collection_containing_exactly(*user.external_ids.map(&:external_id))
base_hash[:assignable_school_integrated] = user.school.has_assignable_contacts
base_hash[:assignable_user] = user.external_ids.any?
end

base_hash.delete_if { |k,v| v.nil? }
Expand Down

0 comments on commit 0e9873d

Please sign in to comment.