github.com/bketelsen/buffalo@v0.9.5/generators/newapp/templates/actions/actions_test.go.tmpl (about)

     1  package actions
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/gobuffalo/suite"
     7  	"{{ .actionsPath }}"
     8  )
     9  
    10  type ActionSuite struct {
    11  	*suite.Action
    12  }
    13  
    14  func Test_ActionSuite(t *testing.T) {
    15  	as := &ActionSuite{suite.NewAction(App())}
    16  	suite.Run(t, as)
    17  }