Sha256: 5c6a8f2eb62fd7f8c7664fe47329de66108068cc81bb3a15b2245209c09bb653

Contents?: true

Size: 612 Bytes

Versions: 3

Compression:

Stored size: 612 Bytes

Contents

require "minitest/autorun"
require "webmock/minitest"
require "mocha"

require "picasa"

xml_parser = ENV["XML_PARSER"] || "libxml"

require xml_parser if ["nokogiri", "libxml", "ox"].include?(xml_parser)
MultiXml.parser = xml_parser

class MiniTest::Unit::TestCase
  def setup
    WebMock.disable_net_connect!
  end

  # Recording response is as simple as writing in terminal:
  # curl -is -H "GData-Version: 2" "https://picasaweb.google.com/data/feed/api/user/username?prettyprint=true" -X GET > test/fixtures/albums.txt
  def fixture(filename)
    File.read(File.join("test", "fixtures", filename))
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
picasa-0.4.2 test/helper.rb
picasa-0.4.1 test/helper.rb
picasa-0.4.0 test/helper.rb