pull/44/merge
Hunter Long 2018-07-27 18:58:56 -07:00
parent 9a08214ad4
commit 93e60979e4
1 changed files with 5 additions and 4 deletions

View File

@ -193,10 +193,11 @@ func TestAssetsCommand(t *testing.T) {
c := testcli.Command("statup", "assets")
c.Run()
t.Log(c.Stdout())
assert.True(t, fileExists("assets/robots.txt"))
assert.True(t, fileExists("assets/js/main.js"))
assert.True(t, fileExists("assets/css/base.css"))
assert.True(t, fileExists("assets/scss/base.scss"))
dir := utils.Dir()
assert.True(t, fileExists(dir+"/assets/robots.txt"))
assert.True(t, fileExists(dir+"/assets/js/main.js"))
assert.True(t, fileExists(dir+"/assets/css/base.css"))
assert.True(t, fileExists(dir+"/assets/scss/base.scss"))
}
func RunMakeDatabaseConfig(t *testing.T, db string) {