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.rc2 spec/twilio_spec.rb
twilio-ruby-4.10.0.edge spec/twilio_spec.rb
twilio-ruby-4.10.0 spec/twilio_spec.rb
twilio-ruby-4.9.1 spec/twilio_spec.rb
twilio-ruby-4.9.1.edge spec/twilio_spec.rb
twilio-ruby-4.9.0 spec/twilio_spec.rb
twilio-ruby-4.9.0.edge spec/twilio_spec.rb
twilio-ruby-4.8.0 spec/twilio_spec.rb
twilio-ruby-4.7.0 spec/twilio_spec.rb
twilio-ruby-4.8.3.edge spec/twilio_spec.rb
twilio-ruby-4.8.2.edge spec/twilio_spec.rb
twilio-ruby-4.8.1.edge spec/twilio_spec.rb
twilio-ruby-4.8.0.edge spec/twilio_spec.rb
twilio-ruby-4.6.2 spec/twilio_spec.rb
twilio-ruby-4.6.1 spec/twilio_spec.rb
twilio-ruby-4.6.0 spec/twilio_spec.rb
twilio-ruby-4.7.0.edge spec/twilio_spec.rb
twilio-ruby-4.6.0.edge spec/twilio_spec.rb
twilio-ruby-4.5.0 spec/twilio_spec.rb
twilio-ruby-4.4.0 spec/twilio_spec.rb