test/test_track.rb in firstfm-0.1.0 vs test/test_track.rb in firstfm-0.1.1
- old
+ new
@@ -4,10 +4,10 @@
def test_should_search_tracks
FakeWeb.register_uri(:get, %r|http://ws.audioscrobbler.com/|, :body => File.read(File.dirname(__FILE__) + "/fixtures/tracks.xml"))
tracks = Firstfm::Track.search("Believe")
assert_equal 30, tracks.size
- assert_equal 1128, tracks.total_pages
+ assert_equal 1880, tracks.total_pages
assert_equal 1, tracks.current_page
assert_equal 56384, tracks.total_entries
track = tracks.first
assert_equal "Believe Me Natalie", track.name
assert_equal 494607, track.listeners
\ No newline at end of file