Sha256: a7d78ae519bb6d5fc2bdeea3c9da3c3b63a5444d9d61cd113a75afb202030b8e
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 Bytes
Contents
require 'test/unit' require 'fakeweb' require 'shoulda' require 'yaml' require 'twilio' FakeWeb.allow_net_connect = false class Test::Unit::TestCase #:nodoc: all end def fixture(filename) #:nodoc: path = File.join(File.dirname(__FILE__), "fixtures/xml/#{filename}.xml") File.read path end def twilio_url(url=nil) #:nodoc: "https://mysid:mytoken@api.twilio.com:443/2008-08-01/Accounts/mysid#{'/' + url if url}" end def verb_response(verb) #:nodoc: path = File.join(File.dirname(__FILE__), "fixtures/yml/verb_responses.yml") YAML.load_file(path)[verb.to_s]['response'] end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
webficient-twilio-2.4.0 | test/test_helper.rb |
twilio-2.4.0 | test/test_helper.rb |