rename to helpers

This commit is contained in:
Corey Johnson 2019-10-14 11:25:59 -07:00
parent 893b2a63f6
commit 2a3315097c
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ func TestPRList(t *testing.T) {
teardown := test.MockGraphQLResponse("pr.json")
defer teardown()
gitRepo := test.SetupTempGitRepo()
gitRepo := test.UseTempGitRepo()
defer gitRepo.TearDown()
output, err := test.RunCommand(RootCmd, "pr list")

View file

@ -19,7 +19,7 @@ type TempGitRepo struct {
TearDown func()
}
func SetupTempGitRepo() *TempGitRepo {
func UseTempGitRepo() *TempGitRepo {
github.CreateTestConfigs("mario", "i-love-peach")
pwd, _ := os.Getwd()