Sha256: d1da7add5f19cff53ab71a6d9a43fad164e13232bde553f041b9fd46b7641a27
Contents?: true
Size: 561 Bytes
Versions: 5
Compression:
Stored size: 561 Bytes
Contents
require "minitest/autorun" require "webmock/minitest" require "mocha/setup" require "alexa" xml_parser = ENV["XML_PARSER"] || "libxml" require xml_parser if ["nokogiri", "libxml", "ox"].include?(xml_parser) MultiXml.parser = xml_parser class MiniTest::Test def setup WebMock.disable_net_connect! end # Recording response is as simple as writing in terminal: # curl -is -X GET "http://awis.amazonaws.com/?Action=UrlInfo&AWSAccessKeyId=fake" > response.txt def fixture(filename) File.read(File.join("test", "fixtures", filename)) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
alexa-0.6.3 | test/helper.rb |
alexa-0.6.2 | test/helper.rb |
alexa-0.6.1 | test/helper.rb |
alexa-0.6.0 | test/helper.rb |
alexa-0.5.1 | test/helper.rb |