summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2021-03-09 17:17:20 -0500
committerMarc A. Paradise <marc.paradise@gmail.com>2021-03-10 12:57:09 -0500
commit5b34cf109c2d1bea722d2cd57619f6f07866aab7 (patch)
treea4f22e879aa9cf149f68df75a86158febfac77a1
parente3a34c4677d109b6f39086a0305e0e46600e33dc (diff)
downloadchef-5b34cf109c2d1bea722d2cd57619f6f07866aab7.tar.gz
Make spec output verbose to debug wrong tests running
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
-rw-r--r--knife/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/knife/Rakefile b/knife/Rakefile
index d016d5f4e0..78b5bde7dc 100644
--- a/knife/Rakefile
+++ b/knife/Rakefile
@@ -7,10 +7,10 @@ Bundler::GemHelper.install_tasks
begin
require "rspec/core/rake_task"
namespace :spec do
- %i{unit functional integration stress}.each do |sub|
+ %i{unit functional integration}.each do |sub|
desc "Run the specs under spec/#{sub}"
RSpec::Core::RakeTask.new(sub) do |t|
- t.verbose = false
+ t.verbose = true
t.rspec_opts = %w{--profile}
t.pattern = FileList["spec/#{sub}/**/*_spec.rb"]
end