Sha256: 6f19f23cc845b51fa6932cc69777ac0a98799fde433ff93c957561b964d88953

Contents?: true

Size: 422 Bytes

Versions: 8

Compression:

Stored size: 422 Bytes

Contents

# -*- encoding: utf-8 -*-
require "helper"

describe Picasa::Presenter::Author do
  before do
    body = MultiXml.parse(fixture("presenters/album_list.xml"))
    @author = Picasa::Presenter::Author.new(body["feed"]["author"])
  end

  it "has name" do
    assert_equal "Wojciech Wnętrzak", @author.name
  end

  it "has uri" do
    assert_equal "https://picasaweb.google.com/106136347770555028022", @author.uri
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
picasa-0.5.4 test/presenter/author_test.rb
picasa-0.5.3 test/presenter/author_test.rb
picasa-0.5.2 test/presenter/author_test.rb
picasa-0.5.1 test/presenter/author_test.rb
picasa-0.5.0 test/presenter/author_test.rb
picasa-0.4.2 test/presenter/author_test.rb
picasa-0.4.1 test/presenter/author_test.rb
picasa-0.4.0 test/presenter/author_test.rb