spec/lib/rspotify/user_spec.rb in rspotify-1.3.0 vs spec/lib/rspotify/user_spec.rb in rspotify-1.4.0

- old
+ new

@@ -19,15 +19,14 @@ it 'should find user with correct playlists' do # Keys generated specifically for the tests. Should be removed in the future client_id = '5ac1cda2ad354aeaa1ad2693d33bb98c' client_secret = '155fc038a85840679b55a1822ef36b9b' - VCR.use_cassette('authenticate:5ac1cda2ad354aeaa1ad2693d33bb98c') do + VCR.use_cassette('authenticate:5ac1cda2ad354aeaa1ad2693d33bb98c') do RSpotify.authenticate(client_id, client_secret) end - - playlists = VCR.use_cassette('user:wizzler:playlists') do + playlists = VCR.use_cassette('user:wizzler:playlists:limit:20:offset:0') do @user.playlists end expect(playlists) .to be_an Array expect(playlists.size) .to eq 6 expect(playlists.first) .to be_an RSpotify::Playlist