Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added test for forkToRepo
  • Loading branch information
benmonro authored Apr 11, 2018
commit d54b2ae6f37d58bf15c25b0f709416f1a5292471
4 changes: 4 additions & 0 deletions test/repository.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ describe('Repository', function() {
remoteRepo.fork(assertSuccessful(done));
});

it('should fork repo to org', function(done) {
remoteRepo.forkToOrg('test-org', assertSuccessful(done));
});

it('should list forks of repo', function(done) {
remoteRepo.listForks(assertSuccessful(done, function(err, forks) {
expect(forks).to.be.an.array();
Expand Down