summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-10-29 13:49:02 -0700
committerGitHub <noreply@github.com>2020-10-29 13:49:02 -0700
commitab190ddf405ddb241f97cc868e86495a8a57c5c8 (patch)
treec4d3b01d83ec8b8bd6f359e9b4efb518621e448c
parentec36256856d79246dedf41c3ea984b6ff2552585 (diff)
parent0aa3045558d952d20da38622cbd943ab7e509182 (diff)
downloadchef-ab190ddf405ddb241f97cc868e86495a8a57c5c8.tar.gz
Merge pull request #10578 from chef/limit-rspec-output
Don't run rspec with documentation formatter.
-rw-r--r--habitat/tests/spec.ps12
-rwxr-xr-xhabitat/tests/test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/habitat/tests/spec.ps1 b/habitat/tests/spec.ps1
index 6cbdd406c2..34b3a07beb 100644
--- a/habitat/tests/spec.ps1
+++ b/habitat/tests/spec.ps1
@@ -18,7 +18,7 @@ try {
SETX GEM_PATH $($gemPath.Split("=")[1]) /m
hab pkg binlink --force $PackageIdentifier
- /hab/bin/rspec --format documentation --tag ~executables --tag ~choco_installed spec/functional
+ /hab/bin/rspec --tag ~executables --tag ~choco_installed spec/functional
if (-not $?) { throw "functional testing failed"}
} finally {
Pop-Location
diff --git a/habitat/tests/test.sh b/habitat/tests/test.sh
index 2fcd7dafd5..c28ab8b2cf 100755
--- a/habitat/tests/test.sh
+++ b/habitat/tests/test.sh
@@ -34,4 +34,4 @@ for executable in 'chef-client' 'ohai' 'chef-shell' 'chef-apply' 'knife' 'chef-s
done
echo "--- :mag_right: Testing ${pkg_ident} functionality"
-hab pkg exec "${pkg_ident}" rspec -f documentation --tag ~executables spec/functional || error 'failures during rspec tests'
+hab pkg exec "${pkg_ident}" rspec --tag ~executables spec/functional || error 'failures during rspec tests'