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 41f48fa
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 41f48fa

Please sign in to comment.