Skip to content

Commit

Permalink
provided the fix for flaky specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Br0k3nh4nd012 committed Jul 30, 2023
1 parent 5d1f742 commit 151ce09
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions spec/models/case_contact_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -449,13 +449,10 @@
case_contact.contact_types = case_contact_types

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 151ce09

Please sign in to comment.