summaryrefslogtreecommitdiff
path: root/internal/cli/jobs/command_test.go
blob: 740424791329ca5038f72ee3d8ba182b72d946a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package jobs_test

import (
	"testing"

	"github.com/roadrunner-server/roadrunner/v2/internal/cli/jobs"
	"github.com/stretchr/testify/assert"
)

func TestCommandProperties(t *testing.T) {
	path := ""
	f := false
	cmd := jobs.NewCommand(&path, nil, &f)

	assert.Equal(t, "jobs", cmd.Use)
	assert.NotNil(t, cmd.RunE)
}