spec/lib/rspotify/user_spec.rb in rspotify-1.25.0 vs spec/lib/rspotify/user_spec.rb in rspotify-1.25.1
- old
+ new
@@ -20,12 +20,10 @@
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:client') do
- RSpotify.authenticate(client_id, client_secret)
- end
+ authenticate_client
playlists = VCR.use_cassette('user:wizzler:playlists:limit:20:offset:0') do
@user.playlists
end
expect(playlists) .to be_an Array