test/test_artist.rb in meta-spotify-0.1.3 vs test/test_artist.rb in meta-spotify-0.1.4
- old
+ new
@@ -53,9 +53,10 @@
@result = MetaSpotify::Artist.lookup(ARTIST_URI)
end
should "fetch an artist and return an artist object" do
assert_kind_of MetaSpotify::Artist, @result
assert_equal "Basement Jaxx", @result.name
+ assert_equal ARTIST_URI, @result.uri
end
should "fail trying to look up an album" do
assert_raises MetaSpotify::URIError do
MetaSpotify::Artist.lookup(ALBUM_URI)
end
\ No newline at end of file