Created
August 14, 2015 20:51
-
-
Save aeikenberry/ced657d8e4e6b93f1085 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var should = require('should'); | |
var feeds = require('../dist/feeder/pitchfork'); | |
var BestNewAlbums = feeds.BestNewAlbums; | |
var BestNewTracks = feeds.BestNewTracks; | |
describe('Pitchfork Feed', function() { | |
it('Best New Tracks should get data.', function(done) { | |
var bestNewTracks = new BestNewTracks(); | |
bestNewTracks.getFeed(function(data) { | |
data.should.be.an.Array(); | |
data.should.not.be.empty(); | |
done(); | |
}); | |
}); | |
it('Best New Albums should get data.', function(done) { | |
var bestNewAlbums = new BestNewAlbums(); | |
bestNewAlbums.getFeed(function(data) { | |
data.should.be.an.Array(); | |
data.should.not.be.empty(); | |
done(); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment