Skip to content

Commit

Permalink
Fix tests given the new registry
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Apr 10, 2016
1 parent bbc9b35 commit 3251051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/resolverFactory.js
Expand Up @@ -568,15 +568,15 @@ describe('resolverFactory', function () {
callFactory({ source: 'pure' })
.then(function (resolver) {
expect(resolver).to.be.a(resolvers.GitRemote);
expect(resolver.getSource()).to.equal('git://github.com/yui/pure-release.git');
expect(resolver.getSource()).to.equal('https://github.com/yui/pure-release.git');
expect(resolver.getTarget()).to.equal('*');
})
.then(function () {
// Test with name
return callFactory({ source: 'pure', name: 'foo' })
.then(function (resolver) {
expect(resolver).to.be.a(resolvers.GitRemote);
expect(resolver.getSource()).to.equal('git://github.com/yui/pure-release.git');
expect(resolver.getSource()).to.equal('https://github.com/yui/pure-release.git');
expect(resolver.getName()).to.equal('foo');
expect(resolver.getTarget()).to.equal('*');
});
Expand Down

0 comments on commit 3251051

Please sign in to comment.