Skip to content

Commit

Permalink
update create_another case contact spec
Browse files Browse the repository at this point in the history
  • Loading branch information
panacotar committed Sep 6, 2024
1 parent 53836ba commit 08ec86f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/system/case_contacts/new_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,11 @@
# default values for other attributes (not from the last contact)
expect(next_case_contact.status).to eq "started"
expect(next_case_contact.miles_driven).to be_zero
%i[casa_case_id duration_minutes occurred_at contact_made medium_type
%i[casa_case_id duration_minutes occurred_at medium_type
want_driving_reimbursement notes].each do |attribute|
expect(next_case_contact.send(attribute)).to be_blank
end
expect(next_case_contact.contact_made).to be true
end

it "does not reset referring location" do
Expand Down

0 comments on commit 08ec86f

Please sign in to comment.