fix tests
This commit is contained in:
parent
608b7cb7a3
commit
e56d7f7234
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue