Skip to content

Commit

Permalink
update tests/password.bats (fixes #2103) (#2106)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <dogi@users.noreply.github.com>
  • Loading branch information
rjpadilla and dogi authored Mar 18, 2021
1 parent a70a1c4 commit 4048859
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@treehouses/cli",
"version": "1.25.29",
"version": "1.25.30",
"remote": "4000",
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
"main": "cli.sh",
Expand Down
12 changes: 11 additions & 1 deletion tests/password.bats
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
#!/usr/bin/env bats
load test-helper

@test "$clinom password raspberry" {
@test "$clinom password change raspberry" {
run "${clicmd}" password change raspberry
assert_success
}

@test "$clinom password disable" {
run "${clicmd}" password disable
assert_success
}

@test "$clinom password enable" {
run "${clicmd}" password enable
assert_success
}

0 comments on commit 4048859

Please sign in to comment.