test/telnyx/fax_test.rb in telnyx-2.8.0 vs test/telnyx/fax_test.rb in telnyx-2.9.0
- old
+ new
@@ -10,10 +10,10 @@
assert_kind_of ListObject, faxes
assert_kind_of Fax, faxes.first
end
should "send fax" do
- fax = Fax.create connection_id: "foo", media_url: "example.com", to: "+13127367276"
+ fax = Fax.create connection_id: "foo", media_url: "example.com", to: "+13127367276", from: "+13127367277"
assert_requested :post, "#{Telnyx.api_base}/v2/faxes"
assert_kind_of Fax, fax
end
should "view fax" do