Sha256: 7a136d44de6ba1e75406407bb0f68a4f7910c980b273d898e898176d3b6626d1

Contents?: true

Size: 954 Bytes

Versions: 25

Compression:

Stored size: 954 Bytes

Contents

require 'spec_helper'

describe Twilio::Util::Configuration do
  it 'should have an account sid attribute' do
    config = Twilio::Util::Configuration.new
    config.account_sid = 'someSid'
    expect(config.account_sid).to eq('someSid')
  end

  it 'should have an auth token attribute' do
    config = Twilio::Util::Configuration.new
    config.auth_token = 'someToken'
    expect(config.auth_token).to eq('someToken')
  end

  it 'should have an http client attribute' do
    config = Twilio::Util::Configuration.new
    config.http_client = 'someClient'
    expect(config.http_client).to eq('someClient')
  end

  it 'should have a region attribute' do
    config = Twilio::Util::Configuration.new
    config.region = 'someRegion'
    expect(config.region).to eq('someRegion')
  end

  it 'should have an edge attribute' do
    config = Twilio::Util::Configuration.new
    config.edge = 'someEdge'
    expect(config.edge).to eq('someEdge')
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
twilio-ruby-5.50.0 spec/util/configuration_spec.rb
twilio-ruby-5.49.0 spec/util/configuration_spec.rb
twilio-ruby-5.48.0 spec/util/configuration_spec.rb
twilio-ruby-5.47.0 spec/util/configuration_spec.rb
twilio-ruby-5.46.1 spec/util/configuration_spec.rb
twilio-ruby-5.46.0 spec/util/configuration_spec.rb
twilio-ruby-5.45.1 spec/util/configuration_spec.rb
twilio-ruby-5.45.0 spec/util/configuration_spec.rb
twilio-ruby-5.44.0 spec/util/configuration_spec.rb
twilio-ruby-5.43.0 spec/util/configuration_spec.rb
twilio-ruby-5.42.0 spec/util/configuration_spec.rb
twilio-ruby-5.41.0 spec/util/configuration_spec.rb
twilio-ruby-5.40.4 spec/util/configuration_spec.rb
twilio-ruby-5.40.3 spec/util/configuration_spec.rb
twilio-ruby-5.40.2 spec/util/configuration_spec.rb
twilio-ruby-5.40.1 spec/util/configuration_spec.rb
twilio-ruby-5.40.0 spec/util/configuration_spec.rb
twilio-ruby-5.39.3 spec/util/configuration_spec.rb
twilio-ruby-5.39.2 spec/util/configuration_spec.rb
twilio-ruby-5.39.1 spec/util/configuration_spec.rb