$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