Sha256: dbd2ab5a1a5eb665bc4e1bf30c22b5a964b6870632df3fee2954b2fa4ac7754b

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class ConnectionTest < Test::Unit::TestCase
  context "A Twilio connection" do
    setup do
      @connection = Twilio::Connection.new('mysid', 'mytoken')
    end
    
    context "when initializing" do
      should "have correct url" do
        assert_equal "#{Twilio::Connection::TWILIO_URL}/mysid", @connection.class.base_uri
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webficient-twilio-1.0.0 test/twilio/connection_test.rb