spec/integration/preview/bulk_exports/export/day_spec.rb in twilio-ruby-5.1.2 vs spec/integration/preview/bulk_exports/export/day_spec.rb in twilio-ruby-5.2.0
- old
+ new
@@ -6,11 +6,11 @@
require 'spec_helper.rb'
describe 'Day' do
it "can read" do
- @holodeck.mock(Twilio::TwilioResponse.new(500, ''))
+ @holodeck.mock(Twilio::Response.new(500, ''))
expect {
@client.preview.bulk_exports.exports("resource_type") \
.days.list()
}.to raise_exception(Twilio::REST::TwilioError)
@@ -22,10 +22,10 @@
url: 'https://preview.twilio.com/BulkExports/Exports/resource_type/Days',
))).to eq(true)
end
it "receives read responses" do
- @holodeck.mock(Twilio::TwilioResponse.new(
+ @holodeck.mock(Twilio::Response.new(
200,
%q[
{
"days": [
{
\ No newline at end of file