fix tests

This commit is contained in:
Megan Marsh 2019-02-05 15:34:59 -08:00
parent 608b7cb7a3
commit e56d7f7234
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ func TestCreateFile(t *testing.T) {
OutputDir: "./", OutputDir: "./",
SourceBox: "bananas", SourceBox: "bananas",
} }
templatePath, err := testy.createInitializeCommand() templatePath, err := testy.getVagrantfileTemplate()
if err != nil { if err != nil {
t.Fatalf(err.Error()) t.Fatalf(err.Error())
} }
@ -43,7 +43,7 @@ func TestCreateFile_customSync(t *testing.T) {
OutputDir: "./", OutputDir: "./",
SyncedFolder: "myfolder/foldertimes", SyncedFolder: "myfolder/foldertimes",
} }
templatePath, err := testy.createInitializeCommand() templatePath, err := testy.getVagrantfileTemplate()
defer os.Remove(templatePath) defer os.Remove(templatePath)
if err != nil { if err != nil {
t.Fatalf(err.Error()) t.Fatalf(err.Error())