Sha256: 5dec30ee8975c78eaa027fdf1a6e8daf6e99d39858d346767d359d14cad97f3a

Contents?: true

Size: 396 Bytes

Versions: 140

Compression:

Stored size: 396 Bytes

Contents

describe Twilio do
  after(:each) do
    Twilio.instance_variable_set('@configuration', nil)
  end

  it 'should set the account sid and auth token with a config block' do
    Twilio.configure do |config|
      config.account_sid = 'someSid'
      config.auth_token = 'someToken'
    end

    expect(Twilio.account_sid).to eq('someSid')
    expect(Twilio.auth_token).to eq('someToken')
  end
end

Version data entries

140 entries across 140 versions & 1 rubygems

Version Path
twilio-ruby-5.26.0 spec/twilio_spec.rb
twilio-ruby-5.25.4 spec/twilio_spec.rb
twilio-ruby-5.25.3 spec/twilio_spec.rb
twilio-ruby-5.25.2 spec/twilio_spec.rb
twilio-ruby-5.25.1 spec/twilio_spec.rb
twilio-ruby-5.25.0 spec/twilio_spec.rb
twilio-ruby-5.24.0 spec/twilio_spec.rb
twilio-ruby-5.23.1 spec/twilio_spec.rb
twilio-ruby-5.23.0 spec/twilio_spec.rb
twilio-ruby-5.22.3 spec/twilio_spec.rb
twilio-ruby-5.22.2 spec/twilio_spec.rb
twilio-ruby-5.22.1 spec/twilio_spec.rb
twilio-ruby-5.22.0 spec/twilio_spec.rb
twilio-ruby-5.21.2 spec/twilio_spec.rb
twilio-ruby-5.21.1 spec/twilio_spec.rb
twilio-ruby-5.21.0 spec/twilio_spec.rb
twilio-ruby-5.20.1 spec/twilio_spec.rb
twilio-ruby-5.20.0 spec/twilio_spec.rb
twilio-ruby-5.19.0 spec/twilio_spec.rb
twilio-ruby-5.18.0 spec/twilio_spec.rb