Skip to content

Commit

Permalink
provided the fix for flaky specs (#5068)
Browse files Browse the repository at this point in the history
Fix in spec/models/case_contact_spec.rb
  • Loading branch information
Br0k3nh4nd012 committed Jul 30, 2023
1 parent 20b7077 commit f757547
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions spec/models/case_contact_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,9 @@

groups_with_types = case_contact.contact_groups_with_types

expect(groups_with_types).to eql(
{
"Family" => ["Parent"],
"Health" => ["Medical Professional", "Other Therapist"]
}
)
expect(groups_with_types.keys).to match_array(["Family", "Health"])
expect(groups_with_types["Family"]).to match_array(["Parent"])
expect(groups_with_types["Health"]).to match_array(["Medical Professional", "Other Therapist"])
end
end

Expand Down

0 comments on commit f757547

Please sign in to comment.