Sha256: 4acb27e3e15579d5778601c6f567a1f2be297e84e9cdaad01f80debf6daf8004

Contents?: true

Size: 557 Bytes

Versions: 7

Compression:

Stored size: 557 Bytes

Contents

# Unit tests for Bandwidth::Bxml::Response
describe 'Bandwidth::Bxml::Response' do
  let(:instance) { Bandwidth::Bxml::Response.new }

  describe 'test an instance of Response' do
    it 'validates instance of Response' do
      expect(instance).to be_instance_of(Bandwidth::Bxml::Response)
      expect(instance).to be_a(Bandwidth::Bxml::Root)
    end

    it 'test the to_bxml method of the Response instance' do
      expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response/>\n"
      expect(instance.to_bxml).to eq(expected)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bandwidth-sdk-11.1.1 spec/models/bxml/response_spec.rb
bandwidth-sdk-11.1.0 spec/models/bxml/response_spec.rb
bandwidth-sdk-11.0.0 spec/models/bxml/response_spec.rb
bandwidth-sdk-11.0.0.pre.beta.4.0 spec/models/bxml/response_spec.rb
bandwidth-sdk-11.0.0.pre.beta.3.1 spec/models/bxml/response_spec.rb
bandwidth-sdk-11.0.0.pre.beta.3.0 spec/models/bxml/response_spec.rb
bandwidth-sdk-11.0.0.pre.beta.2.0 spec/models/bxml/response_spec.rb