summaryrefslogtreecommitdiff
path: root/tasks/bin/run_chef_tests
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/bin/run_chef_tests')
-rwxr-xr-xtasks/bin/run_chef_tests12
1 files changed, 1 insertions, 11 deletions
diff --git a/tasks/bin/run_chef_tests b/tasks/bin/run_chef_tests
index a128e59aec..363086e688 100755
--- a/tasks/bin/run_chef_tests
+++ b/tasks/bin/run_chef_tests
@@ -3,14 +3,4 @@
# Fail fast (e) and echo commands (vx)
set -evx
-echo --color > .rspec
-echo -fp >> .rspec
-
-sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers;
-# If we have any args, just run the given command
-if [ -n "$1" ]; then
- sudo -E $(which bundle) exec $@;
-else
- sudo -E $(which bundle) exec rake spec;
- bundle exec bundle-audit check --update;
-fi
+sudo -E $(which bundle) exec rake spec;