summaryrefslogtreecommitdiff
path: root/internal/cli/jobs/command_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/jobs/command_test.go')
-rw-r--r--internal/cli/jobs/command_test.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/cli/jobs/command_test.go b/internal/cli/jobs/command_test.go
new file mode 100644
index 00000000..74042479
--- /dev/null
+++ b/internal/cli/jobs/command_test.go
@@ -0,0 +1,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)
+}