FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #445 from nodegit/clone-http · javascript-forks/nodegit.nodegit@ee85185 · GitHub

Repository navigation

Commit ee85185

Browse files
committed
Merge pull request nodegit#445 from nodegit/clone-http
Added in an HTTP url for test
2 parents 6623359 + 9c68d76 commit ee85185

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

‎test/tests/clone.js‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,11 @@ describe("Clone", function() {
2525
});
2626
});
2727

28-
it.skip("can clone with http", function() {
28+
it("can clone with http", function() {
2929
var test = this;
30-
var url = "http://github.com/nodegit/test.git";
31-
var opts = {
32-
remoteCallbacks: {
33-
certificateCheck: function() {
34-
return 1;
35-
}
36-
}
37-
};
30+
var url = "http://git.tbranyen.com/smart/site-content";
3831

39-
return Clone.clone(url, clonePath, opts).then(function(repo) {
32+
return Clone.clone(url, clonePath).then(function(repo) {
4033
assert.ok(repo instanceof Repository);
4134
test.repository = repo;
4235
});

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL