spec/communication_request_spec.rb in lifen-2.4.0 vs spec/communication_request_spec.rb in lifen-3.0.0

- old
+ new

@@ -4,13 +4,13 @@ let(:medium1) { Lifen::Medium.new(uuid: "valid-medium-uuid-1") } #valid_channel_uuid let(:medium2) { Lifen::Medium.new(uuid: "valid-medium-uuid-2") } - let(:sender) { Lifen::User.new(uuid: "valid-sender-uuid") } #valid_sender_uuid + let(:sender) { Lifen::Practitioner.new(uuid: "valid-sender-uuid") } #valid_sender_uuid - let(:recipient1) { Lifen::User.new(uuid: "valid-recipient-uuid-1") } - let(:recipient2) { Lifen::User.new(uuid: "valid-recipient-uuid-2") }#valid_recipient_uuid + let(:recipient1) { Lifen::Practitioner.new(uuid: "valid-recipient-uuid-1") } + let(:recipient2) { Lifen::Practitioner.new(uuid: "valid-recipient-uuid-2") }#valid_recipient_uuid let(:binary) { Lifen::Binary.new(uuid: "valid-binary-uuid") } let(:attachment) { Lifen::Attachment.new(title: "Master Plan", path: File.dirname(__FILE__) + "/support/master_plan.pdf", content_type: "application/pdf") }