Sha256: 1705250798a8a0698c163fc444fd7c3e954e94e9484a8ba61d0520fcae419918

Contents?: true

Size: 646 Bytes

Versions: 24

Compression:

Stored size: 646 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'bundler'
Bundler.setup

Dir.glob(File.expand_path("../support/**/*.rb", __FILE__), &method(:require))

require_relative './holodeck/holodeck.rb'
require_relative './holodeck/hologram.rb'

require 'twilio-ruby'
require 'rack'

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.before(:each) do
    @client = Twilio::REST::Client.new('AC' + 'a'*32, 'AUTHTOKEN')
    @holodeck = Holodeck.new
    @client.http_client = @holodeck
  end
end

def account_sid
  ENV['ACCOUNT_SID']
end

def auth_token
  ENV['AUTH_TOKEN']
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc26 spec/spec_helper.rb
twilio-ruby-5.0.0.rc25 spec/spec_helper.rb
twilio-ruby-5.0.0.rc24 spec/spec_helper.rb
twilio-ruby-5.0.0.rc23 spec/spec_helper.rb
twilio-ruby-5.0.0.rc22 spec/spec_helper.rb
twilio-ruby-5.0.0.rc21 spec/spec_helper.rb
twilio-ruby-5.0.0.rc20 spec/spec_helper.rb
twilio-ruby-5.0.0.rc19 spec/spec_helper.rb
twilio-ruby-5.0.0.rc18 spec/spec_helper.rb
twilio-ruby-5.0.0.rc17 spec/spec_helper.rb
twilio-ruby-5.0.0.rc16 spec/spec_helper.rb
twilio-ruby-5.0.0.rc15 spec/spec_helper.rb
twilio-ruby-5.0.0.rc14 spec/spec_helper.rb
twilio-ruby-5.0.0.rc13 spec/spec_helper.rb
twilio-ruby-5.0.0.rc12 spec/spec_helper.rb
twilio-ruby-5.0.0.rc11 spec/spec_helper.rb
twilio-ruby-5.0.0.rc10 spec/spec_helper.rb
twilio-ruby-5.0.0.rc9 spec/spec_helper.rb
twilio-ruby-5.0.0.rc8 spec/spec_helper.rb
twilio-ruby-5.0.0.rc7 spec/spec_helper.rb