Sha256: 2ae02902c484774d8c962bff6949bfc02bf074dfaf67127cae2d317e5720bd95

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restcomm-ruby-1.2.1 spec/twilio_spec.rb
restcomm-ruby-1.2.0 spec/twilio_spec.rb