github.com/JarrahG/buffalocli@v0.0.0-20230801092127-b85bfd5d395a/internal/genny/newapp/core/templates/actions/actions_test.go.tmpl (about) 1 package actions 2 3 import ( 4 "os" 5 "testing" 6 7 "github.com/gobuffalo/suite/v4" 8 ) 9 10 type ActionSuite struct { 11 *suite.Action 12 } 13 14 func Test_ActionSuite(t *testing.T) { 15 action, err := suite.NewActionWithFixtures(App(), os.DirFS("../fixtures")) 16 if err != nil { 17 t.Fatal(err) 18 } 19 20 as := &ActionSuite{ 21 Action: action, 22 } 23 suite.Run(t, as) 24 }