2015-06-03 21:45:54 -07:00
|
|
|
import 'should';
|
|
|
|
import lookup from '../lib/lookup';
|
2015-01-06 12:58:57 +00:00
|
|
|
|
|
|
|
describe('Search with url', function(){
|
2015-06-03 21:45:54 -07:00
|
|
|
it('should find album by url', function* (){
|
|
|
|
let result = yield lookup('https://play.google.com/music/listen#/album/Bz6wrjczddcj5hurijsv6ohdoay');
|
|
|
|
result.name.should.equal('Phase 5');
|
2015-01-06 12:58:57 +00:00
|
|
|
});
|
2015-06-03 21:45:54 -07:00
|
|
|
});
|