More bluebird, fetch larger artwork
This commit is contained in:
parent
e671b823e9
commit
23896f7ee6
16 changed files with 117 additions and 81 deletions
|
@ -12,6 +12,13 @@ describe('Google Play Music', function(){
|
|||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('should find track by ID', function(done){
|
||||
google.lookupId("Tjosptub24g2dft37lforqnudpe", "track").then(function(result) {
|
||||
result.name.should.equal("Cherub Rock");
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('search', function(){
|
||||
|
|
|
@ -7,14 +7,14 @@ var itunes = require("../../lib/services/itunes");
|
|||
describe('iTunes Music', function(){
|
||||
describe('lookupId', function(){
|
||||
it('should find album by ID', function(done){
|
||||
itunes.lookupId("id215206912").then(function(result) {
|
||||
itunes.lookupId("id215206912", "album").then(function(result) {
|
||||
result.name.should.equal("Peace Orchestra");
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('should find track by ID', function(done){
|
||||
itunes.lookupId("id215206958").then(function(result) {
|
||||
itunes.lookupId("id215206958", "track").then(function(result) {
|
||||
result.name.should.equal("Double Drums");
|
||||
done();
|
||||
});
|
||||
|
|
|
@ -12,6 +12,13 @@ describe('Spotify', function(){
|
|||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('should find track by ID', function(done){
|
||||
spotify.lookupId("7dS5EaCoMnN7DzlpT6aRn2", "track").then(function(result) {
|
||||
result.name.should.equal("Take Me To Church");
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('search', function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue