summaryrefslogtreecommitdiff
path: root/push_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'push_test.go')
-rw-r--r--push_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/push_test.go b/push_test.go
index 4686c65..a9fc90d 100644
--- a/push_test.go
+++ b/push_test.go
@@ -11,7 +11,7 @@ func TestRemotePush(t *testing.T) {
localRepo := createTestRepo(t)
defer cleanupTestRepo(t, localRepo)
- remote, err := localRepo.CreateRemote("test_push", repo.Path())
+ remote, err := localRepo.Remotes.Create("test_push", repo.Path())
checkFatal(t, err)
seedTestRepo(t, localRepo)