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.0.0.rc19 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc18 spec/twilio_spec.rb
twilio-ruby-4.13.0 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc17 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc16 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc15 spec/twilio_spec.rb
twilio-ruby-4.12.1 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc14 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc13 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc12 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc11 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc10 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc9 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc8 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc7 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc5 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc4 spec/twilio_spec.rb
twilio-ruby-5.0.0.rc3 spec/twilio_spec.rb
twilio-ruby-4.11.1 spec/twilio_spec.rb
twilio-ruby-4.11.0 spec/twilio_spec.rb