awesome fixed push for everythinggs

This commit is contained in:
Peter Cottle 2013-10-14 14:19:29 -07:00
parent 56e800220c
commit f543fa4485
3 changed files with 23 additions and 13 deletions

View file

@ -37,6 +37,13 @@ describe('Git Remotes', function() {
);
});
it('pushes', function() {
expectTreeAsync(
'git clone; git commit; git push',
'{"branches":{"master":{"target":"C2","id":"master","remoteTrackingBranchID":"o/master"},"o/master":{"target":"C2","id":"o/master","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"master","id":"HEAD"},"originTree":{"branches":{"master":{"target":"C2","id":"master","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"master","id":"HEAD"}}}'
);
});
it('pulls and then pushes', function() {
expectTreeAsync(
'git clone; git commit; git fakeTeamwork; git pull; git push',