picasa 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +6 -1
  3. data/Gemfile +6 -0
  4. data/README.md +16 -24
  5. data/Rakefile +1 -1
  6. data/lib/picasa.rb +18 -12
  7. data/lib/picasa/api/album.rb +45 -0
  8. data/lib/picasa/client.rb +14 -0
  9. data/lib/picasa/connection.rb +86 -0
  10. data/lib/picasa/exceptions.rb +17 -0
  11. data/lib/picasa/presenter/album.rb +76 -0
  12. data/lib/picasa/presenter/album_list.rb +60 -0
  13. data/lib/picasa/presenter/author.rb +15 -0
  14. data/lib/picasa/presenter/base.rb +29 -0
  15. data/lib/picasa/presenter/link.rb +19 -0
  16. data/lib/picasa/presenter/media.rb +27 -0
  17. data/lib/picasa/presenter/photo.rb +79 -0
  18. data/lib/picasa/presenter/thumbnail.rb +19 -0
  19. data/lib/picasa/utils.rb +44 -0
  20. data/lib/picasa/version.rb +1 -1
  21. data/picasa.gemspec +4 -15
  22. data/test/api/album_test.rb +24 -0
  23. data/test/client_test.rb +14 -0
  24. data/test/connection_test.rb +71 -0
  25. data/test/fixtures/album/album-list-with-tag.txt +105 -0
  26. data/test/fixtures/album/album-list.txt +105 -0
  27. data/test/fixtures/album/album-show-with-max-results.txt +131 -0
  28. data/test/fixtures/album/album-show-with-tag-and-many-photos.txt +156 -0
  29. data/test/fixtures/album/album-show-with-tag-and-one-photo.txt +105 -0
  30. data/test/fixtures/album/album-show.txt +169 -0
  31. data/test/fixtures/auth/failure.txt +12 -0
  32. data/test/fixtures/auth/success.txt +14 -0
  33. data/test/fixtures/json.txt +435 -0
  34. data/test/fixtures/photo/photo-list-all-with-q.txt +556 -0
  35. data/test/fixtures/photo/photo-list-all.txt +623 -0
  36. data/test/fixtures/photo/photo-list-user.txt +388 -0
  37. data/test/fixtures/presenters/album_list.xml +88 -0
  38. data/test/fixtures/presenters/album_show.xml +152 -0
  39. data/test/fixtures/presenters/album_show_with_one_photo.xml +88 -0
  40. data/test/fixtures/tag/tag-list-album.txt +77 -0
  41. data/test/fixtures/tag/tag-list-photo.txt +72 -0
  42. data/test/fixtures/tag/tag-list.txt +68 -0
  43. data/test/helper.rb +12 -6
  44. data/test/presenter/album_list_test.rb +67 -0
  45. data/test/presenter/album_test.rb +173 -0
  46. data/test/presenter/author_test.rb +17 -0
  47. data/test/presenter/base_test.rb +27 -0
  48. data/test/presenter/link_test.rb +21 -0
  49. data/test/presenter/media_test.rb +29 -0
  50. data/test/presenter/photo_test.rb +81 -0
  51. data/test/presenter/thumbnail_test.rb +24 -0
  52. data/test/utils_test.rb +84 -0
  53. metadata +66 -31
  54. data/lib/picasa/config.rb +0 -15
  55. data/lib/picasa/web_albums.rb +0 -56
  56. data/test/fixtures/albums +0 -15
  57. data/test/fixtures/photos +0 -15
  58. data/test/test_config.rb +0 -12
  59. data/test/test_web_albums.rb +0 -44
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require "helper"
3
+
4
+ describe Picasa::Presenter::Thumbnail do
5
+ describe "album list" do
6
+ before do
7
+ body = MultiXml.parse(fixture("presenters/album_list.xml"))
8
+ @thumbnail = Picasa::Presenter::Thumbnail.new(body["feed"]["entry"][0]["group"]["thumbnail"])
9
+ end
10
+
11
+ it "has url" do
12
+ expected = "https://lh6.googleusercontent.com/-u_2FJXbbliU/SMU_eBetTXE/AAAAAAAAAkU/3XThNVnAM-4/s160-c/Test2.jpg"
13
+ assert_equal expected, @thumbnail.url
14
+ end
15
+
16
+ it "has height" do
17
+ assert_equal 160, @thumbnail.height
18
+ end
19
+
20
+ it "has width" do
21
+ assert_equal 160, @thumbnail.width
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,84 @@
1
+ require "helper"
2
+
3
+ describe Picasa::Utils do
4
+ describe "#safe_retrieve" do
5
+ it "returns nested hash value" do
6
+ hash = {:first => {:second => {:third => "Value!"}}}
7
+ assert_equal "Value!", Picasa::Utils.safe_retrieve(hash, :first, :second, :third)
8
+ end
9
+
10
+ it "returns partial hash when not all keys given" do
11
+ hash = {:first => {:second => {:third => "Value!"}}}
12
+ assert_equal({:third => "Value!"}, Picasa::Utils.safe_retrieve(hash, :first, :second))
13
+ end
14
+
15
+ it "returns nil when key not found in hash" do
16
+ hash = {:first => {:second => {:third => "Value!"}}}
17
+ assert_nil Picasa::Utils.safe_retrieve(hash, :non_exisiting)
18
+ end
19
+
20
+ it "returns nil when one of keys not found in hash" do
21
+ hash = {:first => {:second => {:third => "Value!"}}}
22
+ assert_nil Picasa::Utils.safe_retrieve(hash, :first, :non_exisiting)
23
+ end
24
+
25
+ it "returns nil when given more keys than present in hash" do
26
+ hash = {:first => {:second => {:third => "Value!"}}}
27
+ assert_nil Picasa::Utils.safe_retrieve(hash, :first, :second, :third, :fourth)
28
+ end
29
+
30
+ it "returns nil when non hash object given" do
31
+ assert_nil Picasa::Utils.safe_retrieve("And Now for Something Completely Different")
32
+ end
33
+
34
+ it "returns nil when no keys given" do
35
+ hash = {:first => {:second => {:third => "Value!"}}}
36
+ assert_nil Picasa::Utils.safe_retrieve(hash)
37
+ end
38
+
39
+ it "does not return incidental value" do
40
+ hash = {nil => "value"}
41
+ assert_nil Picasa::Utils.safe_retrieve(hash)
42
+ end
43
+ end
44
+
45
+ describe "#array_wrap" do
46
+ it "wraps hash into array" do
47
+ assert_equal [{:wt => :f}], Picasa::Utils.array_wrap({:wt => :f})
48
+ end
49
+ end
50
+
51
+ describe "#map_to_integer" do
52
+ it "does not convert nil value" do
53
+ assert_nil Picasa::Utils.map_to_integer(nil)
54
+ end
55
+
56
+ it "converts given value to integer" do
57
+ assert_equal 101, Picasa::Utils.map_to_integer("101")
58
+ end
59
+ end
60
+
61
+ describe "#map_to_date" do
62
+ it "does not convert nil value" do
63
+ assert_nil Picasa::Utils.map_to_date(nil)
64
+ end
65
+
66
+ it "converts given value to date" do
67
+ assert_equal DateTime, Picasa::Utils.map_to_date("2008-09-08T07:00:00+00:00").class
68
+ end
69
+ end
70
+
71
+ describe "#map_to_boolean" do
72
+ it "converts true string to boolean" do
73
+ assert_equal true, Picasa::Utils.map_to_boolean("true")
74
+ end
75
+
76
+ it "converts false string to boolean" do
77
+ assert_equal false, Picasa::Utils.map_to_boolean("false")
78
+ end
79
+
80
+ it "does not convert other values" do
81
+ assert_nil Picasa::Utils.map_to_boolean("truthy")
82
+ end
83
+ end
84
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picasa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,10 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-22 00:00:00.000000000 Z
12
+ date: 2012-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: xml-simple
15
+ name: multi_xml
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
@@ -28,7 +28,23 @@ dependencies:
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
- name: fakeweb
31
+ name: webmock
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: mocha
32
48
  requirement: !ruby/object:Gem::Requirement
33
49
  none: false
34
50
  requirements:
@@ -57,37 +73,55 @@ files:
57
73
  - README.md
58
74
  - Rakefile
59
75
  - lib/picasa.rb
60
- - lib/picasa/config.rb
76
+ - lib/picasa/api/album.rb
77
+ - lib/picasa/client.rb
78
+ - lib/picasa/connection.rb
79
+ - lib/picasa/exceptions.rb
80
+ - lib/picasa/presenter/album.rb
81
+ - lib/picasa/presenter/album_list.rb
82
+ - lib/picasa/presenter/author.rb
83
+ - lib/picasa/presenter/base.rb
84
+ - lib/picasa/presenter/link.rb
85
+ - lib/picasa/presenter/media.rb
86
+ - lib/picasa/presenter/photo.rb
87
+ - lib/picasa/presenter/thumbnail.rb
88
+ - lib/picasa/utils.rb
61
89
  - lib/picasa/version.rb
62
- - lib/picasa/web_albums.rb
63
90
  - picasa.gemspec
64
- - test/fixtures/albums
65
- - test/fixtures/photos
91
+ - test/api/album_test.rb
92
+ - test/client_test.rb
93
+ - test/connection_test.rb
94
+ - test/fixtures/album/album-list-with-tag.txt
95
+ - test/fixtures/album/album-list.txt
96
+ - test/fixtures/album/album-show-with-max-results.txt
97
+ - test/fixtures/album/album-show-with-tag-and-many-photos.txt
98
+ - test/fixtures/album/album-show-with-tag-and-one-photo.txt
99
+ - test/fixtures/album/album-show.txt
100
+ - test/fixtures/auth/failure.txt
101
+ - test/fixtures/auth/success.txt
102
+ - test/fixtures/json.txt
103
+ - test/fixtures/photo/photo-list-all-with-q.txt
104
+ - test/fixtures/photo/photo-list-all.txt
105
+ - test/fixtures/photo/photo-list-user.txt
106
+ - test/fixtures/presenters/album_list.xml
107
+ - test/fixtures/presenters/album_show.xml
108
+ - test/fixtures/presenters/album_show_with_one_photo.xml
109
+ - test/fixtures/tag/tag-list-album.txt
110
+ - test/fixtures/tag/tag-list-photo.txt
111
+ - test/fixtures/tag/tag-list.txt
66
112
  - test/helper.rb
67
- - test/test_config.rb
68
- - test/test_web_albums.rb
113
+ - test/presenter/album_list_test.rb
114
+ - test/presenter/album_test.rb
115
+ - test/presenter/author_test.rb
116
+ - test/presenter/base_test.rb
117
+ - test/presenter/link_test.rb
118
+ - test/presenter/media_test.rb
119
+ - test/presenter/photo_test.rb
120
+ - test/presenter/thumbnail_test.rb
121
+ - test/utils_test.rb
69
122
  homepage: https://github.com/morgoth/picasa
70
123
  licenses: []
71
- post_install_message: ! '
72
-
73
- *************************************************************************
74
-
75
-
76
- Version 0.4 of this gem will be totaly rewritten.
77
-
78
- Gem syntax will change with backwards incompatibilities.
79
-
80
- If you don''t want to update your code, please specify in your Gemfile:
81
-
82
- gem "picasa", "~> 0.3.0"
83
-
84
-
85
- Follow https://github.com/morgoth/picasa for updates.
86
-
87
-
88
- *************************************************************************
89
-
90
- '
124
+ post_install_message:
91
125
  rdoc_options: []
92
126
  require_paths:
93
127
  - lib
@@ -105,8 +139,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
139
  version: '0'
106
140
  requirements: []
107
141
  rubyforge_project:
108
- rubygems_version: 1.8.23
142
+ rubygems_version: 1.8.24
109
143
  signing_key:
110
144
  specification_version: 3
111
145
  summary: simple google picasa managment
112
146
  test_files: []
147
+ has_rdoc:
data/lib/picasa/config.rb DELETED
@@ -1,15 +0,0 @@
1
- require "singleton"
2
-
3
- module Picasa
4
- class Config
5
- include Singleton
6
- attr_accessor :google_user
7
- end
8
-
9
- def self.config
10
- if block_given?
11
- yield Config.instance
12
- end
13
- Config.instance
14
- end
15
- end
@@ -1,56 +0,0 @@
1
- require "net/http"
2
- require "xmlsimple"
3
-
4
- module Picasa
5
- class WebAlbums
6
- def initialize(user)
7
- Picasa.config.google_user = user if user
8
- raise ArgumentError.new("You must specify google_user") unless Picasa.config.google_user
9
- end
10
-
11
- def albums(options = {})
12
- data = connect("/data/feed/api/user/#{Picasa.config.google_user}", options)
13
- xml = XmlSimple.xml_in(data)
14
- albums = []
15
- xml["entry"].each do |album|
16
- attributes = {}
17
- attributes[:id] = album["id"][1]
18
- attributes[:title] = album["title"][0]["content"]
19
- attributes[:summary] = album["summary"][0]["content"]
20
- attributes[:photos_count] = album["numphotos"][0].to_i
21
- attributes[:photo] = album["group"][0]["content"]["url"]
22
- attributes[:thumbnail] = album["group"][0]["thumbnail"][0]["url"]
23
- attributes[:slideshow] = album["link"][1]["href"] + "#slideshow"
24
- attributes[:updated] = album["updated"][0]
25
- attributes[:url] = album["link"][1]["href"]
26
- albums << attributes
27
- end if xml["entry"]
28
- albums
29
- end
30
-
31
- def photos(album_id, options = {})
32
- data = connect("/data/feed/api/user/#{Picasa.config.google_user}/albumid/#{album_id}", options)
33
- xml = XmlSimple.xml_in(data)
34
- photos = []
35
- xml["entry"].each do |photo|
36
- attributes = {}
37
- attributes[:id] = photo["id"][1]
38
- attributes[:title] = photo["group"][0]["description"][0]["content"]
39
- attributes[:thumbnail_1] = photo["group"][0]["thumbnail"][0]["url"]
40
- attributes[:thumbnail_2] = photo["group"][0]["thumbnail"][1]["url"]
41
- attributes[:thumbnail_3] = photo["group"][0]["thumbnail"][2]["url"]
42
- attributes[:photo] = photo["content"]["src"]
43
- photos << attributes
44
- end if xml["entry"]
45
- {:photos => photos, :slideshow => xml["link"][1]["href"] + "#slideshow"}
46
- end
47
-
48
- private
49
-
50
- def connect(url, options = {})
51
- full_url = "http://picasaweb.google.com" + url
52
- full_url += "?" + URI.encode_www_form(options) unless options.empty?
53
- Net::HTTP.get(URI.parse(full_url))
54
- end
55
- end
56
- end
data/test/fixtures/albums DELETED
@@ -1,15 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Set-Cookie: _rtok=AziiH0EtTyNj; Path=/; HttpOnly
3
- Set-Cookie: S=photos_html=xofVMm768HlBTGmKQ1JSkA; Domain=.google.com; Path=/; HttpOnly
4
- Content-Type: application/atom+xml; charset=UTF-8
5
- Expires: Wed, 20 May 2009 10:51:15 GMT
6
- Date: Wed, 20 May 2009 10:51:15 GMT
7
- Cache-Control: private, must-revalidate, max-age=0
8
- Vary: Accept, X-GData-Authorization, GData-Version, Cookie
9
- GData-Version: 1.0
10
- Last-Modified: Tue, 17 Mar 2009 19:20:57 GMT
11
- Transfer-Encoding: chunked
12
- X-Content-Type-Options: nosniff
13
- Server: GFE/2.0
14
-
15
- <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:gphoto='http://schemas.google.com/photos/2007' xmlns:media='http://search.yahoo.com/mrss/' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gml='http://www.opengis.net/gml' xmlns:georss='http://www.georss.org/georss'><id>http://picasaweb.google.com/data/feed/api/user/saps.gliwice</id><updated>2009-03-17T19:20:57.566Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#user'/><title type='text'>saps.gliwice</title><subtitle type='text'/><icon>http://lh4.ggpht.com/_Kp7xCOU0f_U/AAAAv-j9-Ok/AAAAAAAAAAA/_BgLoHE7Zi4/s64-c/saps.gliwice.jpg</icon><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice'/><link rel='http://schemas.google.com/photos/2007#slideshow' type='application/x-shockwave-flash' href='http://picasaweb.google.com/s/c/bin/slideshow.swf?host=picasaweb.google.com&amp;RGB=0x000000&amp;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fsaps.gliwice%3Falt%3Drss'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice?start-index=1&amp;max-results=1000'/><author><name>saps</name><uri>http://picasaweb.google.com/saps.gliwice</uri></author><generator version='1.00' uri='http://picasaweb.google.com/'>Picasaweb</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>1000</openSearch:itemsPerPage><gphoto:user>saps.gliwice</gphoto:user><gphoto:nickname>saps</gphoto:nickname><gphoto:thumbnail>http://lh4.ggpht.com/_Kp7xCOU0f_U/AAAAv-j9-Ok/AAAAAAAAAAA/_BgLoHE7Zi4/s64-c/saps.gliwice.jpg</gphoto:thumbnail><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5277503612406515713</id><published>2008-12-08T08:00:00.000Z</published><updated>2008-12-08T20:08:43.193Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'/><title type='text'>SAPS in da akcion :P</title><summary type='text'/><rights type='text'>public</rights><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5277503612406515713'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/SAPSInDaAkcionP'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5277503612406515713'/><author><name>saps</name><uri>http://picasaweb.google.com/saps.gliwice</uri></author><gphoto:id>5277503612406515713</gphoto:id><gphoto:name>SAPSInDaAkcionP</gphoto:name><gphoto:location/><gphoto:access>public</gphoto:access><gphoto:timestamp>1228723200000</gphoto:timestamp><gphoto:numphotos>24</gphoto:numphotos><gphoto:user>saps.gliwice</gphoto:user><gphoto:nickname>saps</gphoto:nickname><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><media:group><media:content url='http://lh3.ggpht.com/_Kp7xCOU0f_U/ST11kvZUyAE/AAAAAAAAALU/58tz4_Wtfog/SAPSInDaAkcionP.jpg' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/ST11kvZUyAE/AAAAAAAAALU/58tz4_Wtfog/s160-c/SAPSInDaAkcionP.jpg' height='160' width='160'/><media:title type='plain'>SAPS in da akcion :P</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261533261668505297</id><published>2008-10-26T07:00:00.000Z</published><updated>2008-10-26T18:36:44.610Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'/><title type='text'>SAPS team 2008/2009</title><summary type='text'/><rights type='text'>public</rights><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261533261668505297'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/SAPSTeam20082009'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261533261668505297'/><author><name>saps</name><uri>http://picasaweb.google.com/saps.gliwice</uri></author><gphoto:id>5261533261668505297</gphoto:id><gphoto:name>SAPSTeam20082009</gphoto:name><gphoto:location/><gphoto:access>public</gphoto:access><gphoto:timestamp>1225004400000</gphoto:timestamp><gphoto:numphotos>1</gphoto:numphotos><gphoto:user>saps.gliwice</gphoto:user><gphoto:nickname>saps</gphoto:nickname><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><media:group><media:content url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS4n-unVtE/AAAAAAAAAFg/Xfjm4-qftBA/SAPSTeam20082009.jpg' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS4n-unVtE/AAAAAAAAAFg/Xfjm4-qftBA/s160-c/SAPSTeam20082009.jpg' height='160' width='160'/><media:title type='plain'>SAPS team 2008/2009</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881</id><published>2008-10-26T07:00:00.000Z</published><updated>2008-10-26T18:56:58.374Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'/><title type='text'>Team 2008/2009</title><summary type='text'/><rights type='text'>public</rights><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881'/><author><name>saps</name><uri>http://picasaweb.google.com/saps.gliwice</uri></author><gphoto:id>5261535952634946881</gphoto:id><gphoto:name>Team20082009</gphoto:name><gphoto:location>Gliwice</gphoto:location><gphoto:access>public</gphoto:access><gphoto:timestamp>1225004400000</gphoto:timestamp><gphoto:numphotos>10</gphoto:numphotos><gphoto:user>saps.gliwice</gphoto:user><gphoto:nickname>saps</gphoto:nickname><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><media:group><media:content url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS7EnXApUE/AAAAAAAAAG4/GCR_5kg2NYU/Team20082009.jpg' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS7EnXApUE/AAAAAAAAAG4/GCR_5kg2NYU/s160-c/Team20082009.jpg' height='160' width='160'/><media:title type='plain'>Team 2008/2009</media:title></media:group><georss:where><gml:Envelope><gml:lowerCorner>50.220199 18.566352</gml:lowerCorner><gml:upperCorner>50.3687849 18.7764079</gml:upperCorner></gml:Envelope><gml:Point><gml:pos>50.294492 18.67138</gml:pos></gml:Point></georss:where></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5246551360727918433</id><published>2008-09-16T07:00:00.000Z</published><updated>2008-09-16T12:26:28.900Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'/><title type='text'>Knurów 2006-2007</title><summary type='text'/><rights type='text'>public</rights><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5246551360727918433'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/KnurW20062007'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5246551360727918433'/><author><name>saps</name><uri>http://picasaweb.google.com/saps.gliwice</uri></author><gphoto:id>5246551360727918433</gphoto:id><gphoto:name>KnurW20062007</gphoto:name><gphoto:location/><gphoto:access>public</gphoto:access><gphoto:timestamp>1221548400000</gphoto:timestamp><gphoto:numphotos>7</gphoto:numphotos><gphoto:user>saps.gliwice</gphoto:user><gphoto:nickname>saps</gphoto:nickname><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><media:group><media:content url='http://lh4.ggpht.com/_Kp7xCOU0f_U/SM9-qkgHp2E/AAAAAAAAAEE/Vv03h7QxJBc/KnurW20062007.jpg' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh4.ggpht.com/_Kp7xCOU0f_U/SM9-qkgHp2E/AAAAAAAAAEE/Vv03h7QxJBc/s160-c/KnurW20062007.jpg' height='160' width='160'/><media:title type='plain'>Knurów 2006-2007</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5244336073288688689</id><published>2008-09-10T07:00:00.000Z</published><updated>2008-10-26T19:03:05.457Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'/><title type='text'>Team 2007/2008</title><summary type='text'>Zdjęcia zespołu</summary><rights type='text'>public</rights><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5244336073288688689'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20072008'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5244336073288688689'/><author><name>saps</name><uri>http://picasaweb.google.com/saps.gliwice</uri></author><gphoto:id>5244336073288688689</gphoto:id><gphoto:name>Team20072008</gphoto:name><gphoto:location>Gliwice</gphoto:location><gphoto:access>public</gphoto:access><gphoto:timestamp>1221030000000</gphoto:timestamp><gphoto:numphotos>7</gphoto:numphotos><gphoto:user>saps.gliwice</gphoto:user><gphoto:nickname>saps</gphoto:nickname><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><media:group><media:content url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SMef33sjpDE/AAAAAAAAACY/ClGSirNcwCs/Team20072008.jpg' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'>Zdjęcia zespołu</media:description><media:keywords/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SMef33sjpDE/AAAAAAAAACY/ClGSirNcwCs/s160-c/Team20072008.jpg' height='160' width='160'/><media:title type='plain'>Team 2007/2008</media:title></media:group><georss:where><gml:Envelope><gml:lowerCorner>50.220199 18.566352</gml:lowerCorner><gml:upperCorner>50.3687849 18.7764079</gml:upperCorner></gml:Envelope><gml:Point><gml:pos>50.294492 18.67138</gml:pos></gml:Point></georss:where></entry></feed>
data/test/fixtures/photos DELETED
@@ -1,15 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Set-Cookie: _rtok=toYoCneG4KvW; Path=/; HttpOnly
3
- Set-Cookie: S=photos_html=bberUsX9KFDRZRPPfSpnjg; Domain=.google.com; Path=/; HttpOnly
4
- Content-Type: application/atom+xml; charset=UTF-8
5
- Expires: Wed, 20 May 2009 10:50:55 GMT
6
- Date: Wed, 20 May 2009 10:50:55 GMT
7
- Cache-Control: private, must-revalidate, max-age=0
8
- Vary: Accept, X-GData-Authorization, GData-Version, Cookie
9
- GData-Version: 1.0
10
- Last-Modified: Sun, 26 Oct 2008 18:56:58 GMT
11
- Transfer-Encoding: chunked
12
- X-Content-Type-Options: nosniff
13
- Server: GFE/2.0
14
-
15
- <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:exif='http://schemas.google.com/photos/exif/2007' xmlns:gphoto='http://schemas.google.com/photos/2007' xmlns:media='http://search.yahoo.com/mrss/' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gml='http://www.opengis.net/gml' xmlns:georss='http://www.georss.org/georss'><id>http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881</id><updated>2008-10-26T18:56:58.374Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'/><title type='text'>Team 2008/2009</title><subtitle type='text'/><rights type='text'>public</rights><icon>http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS7EnXApUE/AAAAAAAAAG4/GCR_5kg2NYU/s160-c/Team20082009.jpg</icon><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009'/><link rel='http://schemas.google.com/photos/2007#slideshow' type='application/x-shockwave-flash' href='http://picasaweb.google.com/s/c/bin/slideshow.swf?host=picasaweb.google.com&amp;RGB=0x000000&amp;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fsaps.gliwice%2Falbumid%2F5261535952634946881%3Falt%3Drss'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881?start-index=1&amp;max-results=1000'/><author><name>saps</name><uri>http://picasaweb.google.com/saps.gliwice</uri></author><generator version='1.00' uri='http://picasaweb.google.com/'>Picasaweb</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>1000</openSearch:itemsPerPage><gphoto:id>5261535952634946881</gphoto:id><gphoto:name>Team20082009</gphoto:name><gphoto:location>Gliwice</gphoto:location><gphoto:access>public</gphoto:access><gphoto:timestamp>1225004400000</gphoto:timestamp><gphoto:numphotos>10</gphoto:numphotos><gphoto:user>saps.gliwice</gphoto:user><gphoto:nickname>saps</gphoto:nickname><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><georss:where><gml:Envelope><gml:lowerCorner>50.220199 18.566352</gml:lowerCorner><gml:upperCorner>50.3687849 18.7764079</gml:upperCorner></gml:Envelope><gml:Point><gml:pos>50.294492 18.67138</gml:pos></gml:Point></georss:where><gphoto:allowPrints>true</gphoto:allowPrints><gphoto:allowDownloads>true</gphoto:allowDownloads><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537043099704882</id><published>2008-10-26T18:50:56.000Z</published><updated>2008-10-26T18:50:56.916Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Jurek.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8EFqEXjI/AAAAAAAAAFo/aUOA6byXAuE/Jurek.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537043099704882'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261537043099704882'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/dp-TCDjCP_p_tGPRErr3HA'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537043099704882'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261537043099704882'/><gphoto:id>5261537043099704882</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>1.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>2162541</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224627009000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224627009000</exif:time><exif:imageUniqueID>0337dc0e7a350da08c0d7fe2cbe86c8d</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8EFqEXjI/AAAAAAAAAFo/aUOA6byXAuE/Jurek.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8EFqEXjI/AAAAAAAAAFo/aUOA6byXAuE/s72/Jurek.JPG' height='72' width='54'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8EFqEXjI/AAAAAAAAAFo/aUOA6byXAuE/s144/Jurek.JPG' height='144' width='108'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8EFqEXjI/AAAAAAAAAFo/aUOA6byXAuE/s288/Jurek.JPG' height='288' width='216'/><media:title type='plain'>Jurek.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537057590431250</id><published>2008-10-26T18:50:59.000Z</published><updated>2008-10-26T18:50:59.078Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Maciek.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8E7o7ThI/AAAAAAAAAFw/52iGjGddYc4/Maciek.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537057590431250'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261537057590431250'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/r7xKhDQrsvhWF2W56yfhLA'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537057590431250'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261537057590431250'/><gphoto:id>5261537057590431250</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>2.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>2091006</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224626996000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224626996000</exif:time><exif:imageUniqueID>6db0fea8761fcafd12f73e2901335175</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8E7o7ThI/AAAAAAAAAFw/52iGjGddYc4/Maciek.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8E7o7ThI/AAAAAAAAAFw/52iGjGddYc4/s72/Maciek.JPG' height='72' width='54'/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8E7o7ThI/AAAAAAAAAFw/52iGjGddYc4/s144/Maciek.JPG' height='144' width='108'/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8E7o7ThI/AAAAAAAAAFw/52iGjGddYc4/s288/Maciek.JPG' height='288' width='216'/><media:title type='plain'>Maciek.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537071404849746</id><published>2008-10-26T18:51:02.000Z</published><updated>2008-10-26T18:51:02.007Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Marek.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8FvGimlI/AAAAAAAAAF4/idtsaIX_O8k/Marek.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537071404849746'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261537071404849746'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/NK09qiFvwR3Qf0Vz2LW6FA'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537071404849746'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261537071404849746'/><gphoto:id>5261537071404849746</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>3.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>1877609</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224627113000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224627113000</exif:time><exif:imageUniqueID>0da3b8d86762df6d5f90d938c86401f6</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8FvGimlI/AAAAAAAAAF4/idtsaIX_O8k/Marek.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8FvGimlI/AAAAAAAAAF4/idtsaIX_O8k/s72/Marek.JPG' height='72' width='54'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8FvGimlI/AAAAAAAAAF4/idtsaIX_O8k/s144/Marek.JPG' height='144' width='108'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8FvGimlI/AAAAAAAAAF4/idtsaIX_O8k/s288/Marek.JPG' height='288' width='216'/><media:title type='plain'>Marek.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537078797926466</id><published>2008-10-26T18:51:04.000Z</published><updated>2008-10-26T18:51:04.090Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Mariusz.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8GKpMAEI/AAAAAAAAAGA/PevdfmsExig/Mariusz.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537078797926466'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261537078797926466'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/fGqOkuOLRToBfGPQfe2G5A'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537078797926466'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261537078797926466'/><gphoto:id>5261537078797926466</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>4.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>1800266</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224627034000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224627034000</exif:time><exif:imageUniqueID>376b017df1ddb237904b19c2c6525157</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8GKpMAEI/AAAAAAAAAGA/PevdfmsExig/Mariusz.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8GKpMAEI/AAAAAAAAAGA/PevdfmsExig/s72/Mariusz.JPG' height='72' width='54'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8GKpMAEI/AAAAAAAAAGA/PevdfmsExig/s144/Mariusz.JPG' height='144' width='108'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8GKpMAEI/AAAAAAAAAGA/PevdfmsExig/s288/Mariusz.JPG' height='288' width='216'/><media:title type='plain'>Mariusz.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537090756407714</id><published>2008-10-26T18:51:07.000Z</published><updated>2008-10-26T18:51:07.303Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Olek.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8G3MT8aI/AAAAAAAAAGI/FxUtP4Hr8iQ/Olek.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537090756407714'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261537090756407714'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/Wq9SwgbkuR_cAZHiHDwkcA'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261537090756407714'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261537090756407714'/><gphoto:id>5261537090756407714</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>5.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>2037847</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224626982000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224626982000</exif:time><exif:imageUniqueID>f8b75ca922998f474608057db6602d44</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8G3MT8aI/AAAAAAAAAGI/FxUtP4Hr8iQ/Olek.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8G3MT8aI/AAAAAAAAAGI/FxUtP4Hr8iQ/s72/Olek.JPG' height='72' width='54'/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8G3MT8aI/AAAAAAAAAGI/FxUtP4Hr8iQ/s144/Olek.JPG' height='144' width='108'/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS8G3MT8aI/AAAAAAAAAGI/FxUtP4Hr8iQ/s288/Olek.JPG' height='288' width='216'/><media:title type='plain'>Olek.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538541670409106</id><published>2008-10-26T18:56:45.000Z</published><updated>2008-10-26T18:56:45.777Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Paweł.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh4.ggpht.com/_Kp7xCOU0f_U/SQS9bURKo5I/AAAAAAAAAGU/paIbDE5zqvU/Pawe%C5%82.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538541670409106'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261538541670409106'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/AkA_aQY6HsHS7km6wYWJIw'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538541670409106'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261538541670409106'/><gphoto:id>5261538541670409106</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>5.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>2037347</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224627014000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224627014000</exif:time><exif:imageUniqueID>fa34cf09c6fbd973ab6196f727799213</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh4.ggpht.com/_Kp7xCOU0f_U/SQS9bURKo5I/AAAAAAAAAGU/paIbDE5zqvU/Pawe%C5%82.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh4.ggpht.com/_Kp7xCOU0f_U/SQS9bURKo5I/AAAAAAAAAGU/paIbDE5zqvU/s72/Pawe%C5%82.JPG' height='72' width='54'/><media:thumbnail url='http://lh4.ggpht.com/_Kp7xCOU0f_U/SQS9bURKo5I/AAAAAAAAAGU/paIbDE5zqvU/s144/Pawe%C5%82.JPG' height='144' width='108'/><media:thumbnail url='http://lh4.ggpht.com/_Kp7xCOU0f_U/SQS9bURKo5I/AAAAAAAAAGU/paIbDE5zqvU/s288/Pawe%C5%82.JPG' height='288' width='216'/><media:title type='plain'>Paweł.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538559193119954</id><published>2008-10-26T18:56:49.000Z</published><updated>2008-10-26T18:56:49.171Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Piotrek.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS9cVi5_NI/AAAAAAAAAGc/C1RjEZVkkbA/Piotrek.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538559193119954'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261538559193119954'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/yZ3wuD7UztbqoHRlUMGmPQ'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538559193119954'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261538559193119954'/><gphoto:id>5261538559193119954</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>6.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>1814615</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224626990000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224626990000</exif:time><exif:imageUniqueID>7167d9b7c69c1e6c6a266dded08977a3</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS9cVi5_NI/AAAAAAAAAGc/C1RjEZVkkbA/Piotrek.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS9cVi5_NI/AAAAAAAAAGc/C1RjEZVkkbA/s72/Piotrek.JPG' height='72' width='54'/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS9cVi5_NI/AAAAAAAAAGc/C1RjEZVkkbA/s144/Piotrek.JPG' height='144' width='108'/><media:thumbnail url='http://lh3.ggpht.com/_Kp7xCOU0f_U/SQS9cVi5_NI/AAAAAAAAAGc/C1RjEZVkkbA/s288/Piotrek.JPG' height='288' width='216'/><media:title type='plain'>Piotrek.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538568463044914</id><published>2008-10-26T18:56:51.000Z</published><updated>2008-10-26T18:56:51.606Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Wojtek.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9c4FB0TI/AAAAAAAAAGk/m7Ek6EU6QRY/Wojtek.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538568463044914'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261538568463044914'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/MXavw5gmHp4uCRwYDcujwg'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538568463044914'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261538568463044914'/><gphoto:id>5261538568463044914</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>7.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>2147066</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224627028000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>800</exif:iso><exif:time>1224627028000</exif:time><exif:imageUniqueID>588b71b7120b68dc515d6a10947d62e8</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9c4FB0TI/AAAAAAAAAGk/m7Ek6EU6QRY/Wojtek.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9c4FB0TI/AAAAAAAAAGk/m7Ek6EU6QRY/s72/Wojtek.JPG' height='72' width='54'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9c4FB0TI/AAAAAAAAAGk/m7Ek6EU6QRY/s144/Wojtek.JPG' height='144' width='108'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9c4FB0TI/AAAAAAAAAGk/m7Ek6EU6QRY/s288/Wojtek.JPG' height='288' width='216'/><media:title type='plain'>Wojtek.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538580755612114</id><published>2008-10-26T18:56:54.000Z</published><updated>2008-10-26T18:56:54.191Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Andrzej.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS9dl3zgdI/AAAAAAAAAGs/hlVDlQHBo1s/Andrzej.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538580755612114'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261538580755612114'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/MDyGx4xg-ryXfXsa5pnHwA'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538580755612114'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261538580755612114'/><gphoto:id>5261538580755612114</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>8.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>2018612</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224627023000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224627023000</exif:time><exif:imageUniqueID>65513557cab5a626eff52b35b3390c01</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS9dl3zgdI/AAAAAAAAAGs/hlVDlQHBo1s/Andrzej.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS9dl3zgdI/AAAAAAAAAGs/hlVDlQHBo1s/s72/Andrzej.JPG' height='72' width='54'/><media:thumbnail url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS9dl3zgdI/AAAAAAAAAGs/hlVDlQHBo1s/s144/Andrzej.JPG' height='144' width='108'/><media:thumbnail url='http://lh6.ggpht.com/_Kp7xCOU0f_U/SQS9dl3zgdI/AAAAAAAAAGs/hlVDlQHBo1s/s288/Andrzej.JPG' height='288' width='216'/><media:title type='plain'>Andrzej.JPG</media:title></media:group></entry><entry><id>http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538588577505986</id><published>2008-10-26T18:56:56.000Z</published><updated>2008-10-26T18:56:56.056Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/><title type='text'>Adam.JPG</title><summary type='text'/><content type='image/jpeg' src='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9eDAsIsI/AAAAAAAAAG0/OKrpgnwCq4M/Adam.JPG'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://picasaweb.google.com/data/feed/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538588577505986'/><link rel='alternate' type='text/html' href='http://picasaweb.google.com/saps.gliwice/Team20082009#5261538588577505986'/><link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='http://picasaweb.google.com/lh/photo/k-xQ66TeNnNFZYlJ89lqJQ'/><link rel='self' type='application/atom+xml' href='http://picasaweb.google.com/data/entry/api/user/saps.gliwice/albumid/5261535952634946881/photoid/5261538588577505986'/><link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='http://picasaweb.google.com/lh/reportAbuse?uname=saps.gliwice&amp;aid=5261535952634946881&amp;iid=5261538588577505986'/><gphoto:id>5261538588577505986</gphoto:id><gphoto:version>1</gphoto:version><gphoto:position>9.0</gphoto:position><gphoto:albumid>5261535952634946881</gphoto:albumid><gphoto:access>public</gphoto:access><gphoto:width>2448</gphoto:width><gphoto:height>3264</gphoto:height><gphoto:size>1840330</gphoto:size><gphoto:client/><gphoto:checksum/><gphoto:timestamp>1224627049000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><exif:tags><exif:fstop>2.7</exif:fstop><exif:make>SONY</exif:make><exif:model>DSC-H9</exif:model><exif:exposure>0.016666668</exif:exposure><exif:flash>false</exif:flash><exif:focallength>5.2</exif:focallength><exif:iso>640</exif:iso><exif:time>1224627049000</exif:time><exif:imageUniqueID>8493d0ca5af65e26cc3463d05e1f12a2</exif:imageUniqueID></exif:tags><media:group><media:content url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9eDAsIsI/AAAAAAAAAG0/OKrpgnwCq4M/Adam.JPG' height='1600' width='1200' type='image/jpeg' medium='image'/><media:credit>saps</media:credit><media:description type='plain'/><media:keywords/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9eDAsIsI/AAAAAAAAAG0/OKrpgnwCq4M/s72/Adam.JPG' height='72' width='54'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9eDAsIsI/AAAAAAAAAG0/OKrpgnwCq4M/s144/Adam.JPG' height='144' width='108'/><media:thumbnail url='http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS9eDAsIsI/AAAAAAAAAG0/OKrpgnwCq4M/s288/Adam.JPG' height='288' width='216'/><media:title type='plain'>Adam.JPG</media:title></media:group></entry></feed>
data/test/test_config.rb DELETED
@@ -1,12 +0,0 @@
1
- require "helper"
2
-
3
- describe Picasa::Config do
4
- it "should take user passed to method instead of config" do
5
- Picasa.config do |c|
6
- c.google_user = "some.user"
7
- end
8
- assert_equal "some.user", Picasa.config.google_user
9
- Picasa::WebAlbums.new("important.user")
10
- assert_equal "important.user", Picasa.config.google_user
11
- end
12
- end
@@ -1,44 +0,0 @@
1
- require "helper"
2
-
3
- describe Picasa::WebAlbums do
4
- it "should parse albums page" do
5
- page = fixture_file("albums")
6
- FakeWeb.register_uri(:get, "picasaweb.google.com/data/feed/api/user/some.user", :response => page)
7
-
8
- albums = Picasa.albums(:google_user => "some.user")
9
- assert_equal 5, albums.count
10
- assert_equal "SAPS in da akcion :P", albums.first[:title]
11
- assert_equal 10, albums[2][:photos_count]
12
- assert_equal "5277503612406515713", albums.first[:id]
13
- refute_nil albums.first[:photo]
14
- refute_nil albums.first[:thumbnail]
15
- refute_nil albums.first[:slideshow]
16
- end
17
-
18
- it "should parse photos page" do
19
- page = fixture_file("photos")
20
- FakeWeb.register_uri(:get, "picasaweb.google.com/data/feed/api/user/some.user/albumid/666", :response => page)
21
-
22
- photos = Picasa.photos(:google_user => "some.user", :album_id => "666")
23
- assert_equal 10, photos[:photos].count
24
- refute_nil photos[:slideshow]
25
- refute_nil photos[:photos].first[:id]
26
- refute_nil photos[:photos].first[:thumbnail_1]
27
- refute_nil photos[:photos].first[:thumbnail_2]
28
- refute_nil photos[:photos].first[:thumbnail_3]
29
- assert_nil photos[:photos].first[:title]
30
- assert_equal "http://lh5.ggpht.com/_Kp7xCOU0f_U/SQS8EFqEXjI/AAAAAAAAAFo/aUOA6byXAuE/Jurek.JPG", photos[:photos].first[:photo]
31
- end
32
-
33
- it "should raise argument error if google user is not present" do
34
- assert_raises ArgumentError do
35
- Picasa::WebAlbums.new
36
- end
37
- end
38
-
39
- it "should raise argument error if album_id is not present" do
40
- assert_raises ArgumentError do
41
- Picasa.photos :google_user => "some.user"
42
- end
43
- end
44
- end