test/picasa_test.rb in picasa-0.1.8 vs test/picasa_test.rb in picasa-0.1.9

- old
+ new

@@ -47,11 +47,13 @@ assert_raise ArgumentError do Picasa.photos :google_user => 'some.user' end end - should "Not raise argument error if google user is set by class variable" do - Picasa::WebAlbums.google_user = "some.user" + should "Not raise argument error if google user is set by configuration block" do + Picasa.config do |c| + c.google_user = 'some.user' + end assert_nothing_raised do Picasa::WebAlbums.new(nil) end end end