Fix sharing url on first page view
This commit is contained in:
parent
be8236a428
commit
2e0b6a151e
4 changed files with 9 additions and 7 deletions
test
|
@ -1,12 +1,12 @@
|
|||
"use strict";
|
||||
require('should');
|
||||
|
||||
var search = require("../lib/search");
|
||||
var lookup = require("../lib/lookup");
|
||||
|
||||
describe('Search with url', function(){
|
||||
|
||||
it('should find album by url', function(done){
|
||||
search("https://play.google.com/music/listen#/album/Bz6wrjczddcj5hurijsv6ohdoay").then(function(result) {
|
||||
lookup("https://play.google.com/music/listen#/album/Bz6wrjczddcj5hurijsv6ohdoay").then(function(result) {
|
||||
result.name.should.equal("Phase 5");
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue