Skip to content

Commit

Permalink
Remove commented tests we now have
Browse files Browse the repository at this point in the history
  • Loading branch information
tiennou committed Jun 19, 2017
1 parent cbf5a64 commit bf4015e
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions ObjectiveGitTests/GTBranchSpec.m
Original file line number Diff line number Diff line change
Expand Up @@ -307,29 +307,6 @@
});
});

// TODO: Test branch renaming, branch upstream
//- (void)testCanRenameBranch {
//
// NSError *error = nil;
// GTRepository *repo = [GTRepository repoByOpeningRepositoryInDirectory:[NSURL URLWithString:TEST_REPO_PATH()] error:&error];
// STAssertNil(error, [error localizedDescription]);
//
// NSArray *branches = [GTBranch listAllLocalBranchesInRepository:repo error:&error];
// STAssertNotNil(branches, [error localizedDescription], nil);
// STAssertEquals(2, (int)branches.count, nil);
//
// NSString *newBranchName = [NSString stringWithFormat:@"%@%@", [GTBranch localNamePrefix], @"this_is_the_renamed_branch"];
// GTBranch *firstBranch = [branches objectAtIndex:0];
// NSString *originalBranchName = firstBranch.name;
// BOOL success = [firstBranch.reference setName:newBranchName error:&error];
// STAssertTrue(success, [error localizedDescription]);
// STAssertEqualObjects(firstBranch.name, newBranchName, nil);
//
// success = [firstBranch.reference setName:originalBranchName error:&error];
// STAssertTrue(success, [error localizedDescription]);
// STAssertEqualObjects(firstBranch.name, originalBranchName, nil);
//}

afterEach(^{
[self tearDown];
});
Expand Down

0 comments on commit bf4015e

Please sign in to comment.