spec/models/bxml/verbs/forward_spec.rb in bandwidth-sdk-11.1.0 vs spec/models/bxml/verbs/forward_spec.rb in bandwidth-sdk-11.1.1

- old
+ new

@@ -3,11 +3,11 @@ let(:initial_attributes) { { to: '+19195551234', from: '+19195554321', call_timeout: 5, - diversion_treatment: 'propogate', + diversion_treatment: 'propagate', diversion_reason: 'user-busy', uui: '93d6f3c0be5845960b744fa28015d8ede84bd1a4;encoding=base64,asdf;encoding=jwt' } } @@ -29,10 +29,10 @@ expect(instance).to be_instance_of(Bandwidth::Bxml::Forward) expect(instance).to be_a(Bandwidth::Bxml::Verb) end it 'tests the to_bxml method of the Forward instance' do - expected = "\n<Forward to=\"+19195551234\" from=\"+19195554321\" callTimeout=\"5\" diversionTreatment=\"propogate\" diversionReason=\"user-busy\" uui=\"93d6f3c0be5845960b744fa28015d8ede84bd1a4;encoding=base64,asdf;encoding=jwt\"/>\n" + expected = "\n<Forward to=\"+19195551234\" from=\"+19195554321\" callTimeout=\"5\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\" uui=\"93d6f3c0be5845960b744fa28015d8ede84bd1a4;encoding=base64,asdf;encoding=jwt\"/>\n" expect(instance.to_bxml).to eq(expected) end it 'tests the set_attributes method of the Forward instance' do instance.set_attributes(new_attributes)