spec/requests_spec.rb in lifen-1.6.2 vs spec/requests_spec.rb in lifen-1.6.3
- old
+ new
@@ -6,10 +6,10 @@
let(:channel) { Lifen::Communication::Channel.new(uuid: "valid_channel_uuid", type: "address") }
let(:sender) { Lifen::User.new(uuid: "valid_sender_uuid") }
let(:recipient) { Lifen::User.new(uuid: "valid_recipient_uuid") }
- let(:attachment) { Lifen::Communication::Attachment.new(title: "Master Plan", path: File.dirname(__FILE__) + "/support/master_plan.pdf") }
+ let(:attachment) { Lifen::Communication::Attachment.new(title: "Master Plan", path: File.dirname(__FILE__) + "/support/master_plan.pdf", content_type: "application/pdf") }
describe ':send' do
let(:request) { Lifen::Communication::Request.new(sender: sender, recipient: recipient, channel: channel, attachment: attachment) }
\ No newline at end of file