test/test_album.rb in meta-spotify-0.1.2 vs test/test_album.rb in meta-spotify-0.1.3
- old
+ new
@@ -26,9 +26,10 @@
end
should "return a list of results and search meta" do
assert_kind_of Array, @results[:albums]
assert_kind_of MetaSpotify::Album, @results[:albums].first
assert_equal "Foo Foo", @results[:albums].first.name
+ assert_equal 0.29921, @results[:albums].first.popularity
assert_equal 1, @results[:query][:start_page]
assert_equal 'request', @results[:query][:role]
assert_equal "foo", @results[:query][:search_terms]
assert_equal 100, @results[:items_per_page]
assert_equal 0, @results[:start_index]
\ No newline at end of file