Skip to content

Commit 87efa74

Browse files
committed
Put the newly-cloned repo in the test-case managed temporary directory.
1 parent 378b31d commit 87efa74

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ObjectiveGitTests/GTRepositorySpec.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@
7070
checkoutProgressCalled = YES;
7171
};
7272

73-
originURL = self.bareFixtureRepository.gitDirectoryURL;
74-
workdirURL = [NSURL fileURLWithPath:[NSTemporaryDirectory() stringByAppendingPathComponent:@"unit_test"]];
73+
workdirURL = [self.tempDirectoryFileURL URLByAppendingPathComponent:@"temp-repo"];
7574
});
7675

7776
describe(@"with local repositories", ^{

0 commit comments

Comments
 (0)