diff options
author | John McCrae <jmccrae@chef.io> | 2021-05-10 14:17:57 -0700 |
---|---|---|
committer | John McCrae <jmccrae@chef.io> | 2021-05-10 14:17:57 -0700 |
commit | aeac9b5dd1cdf006105a1c53332132d7765760c4 (patch) | |
tree | e0e08723557ed849e6d24dbf8d6791127dfc2e1f | |
parent | 6fbe5afc8268b5c23f0e4c0cc37900313db59e21 (diff) | |
download | chef-aeac9b5dd1cdf006105a1c53332132d7765760c4.tar.gz |
updated the hostname resource to use Rename-Computer over WMI. There is additional commentary and code in the block to get past a test problem.
Signed-off-by: John McCrae <jmccrae@chef.io>
-rw-r--r-- | tasks/rspec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tasks/rspec.rb b/tasks/rspec.rb index cbb5db1976..58dab33a0c 100644 --- a/tasks/rspec.rb +++ b/tasks/rspec.rb @@ -43,7 +43,7 @@ begin desc "Run all chef specs in spec directory" RSpec::Core::RakeTask.new(:spec) do |t| - t.verbose = true + t.verbose = false t.rspec_opts = %w{--profile} t.pattern = FileList["spec/**/*_spec.rb"] end @@ -51,21 +51,21 @@ begin namespace :spec do desc "Run all chef specs in spec directory" RSpec::Core::RakeTask.new(:all) do |t| - t.verbose = true + t.verbose = false t.rspec_opts = %w{--profile} t.pattern = FileList["spec/**/*_spec.rb"] end desc "Print Specdoc for all specs" RSpec::Core::RakeTask.new(:doc) do |t| - t.verbose = true + t.verbose = false t.rspec_opts = %w{--format specdoc --dry-run --profile} t.pattern = FileList["spec/**/*_spec.rb"] end desc "Run chef's node and role unit specs with activesupport loaded" RSpec::Core::RakeTask.new(:activesupport) do |t| - t.verbose = true + t.verbose = false t.rspec_opts = %w{--require active_support/core_ext --profile} # Only node_spec and role_spec specifically have issues, target those tests t.pattern = FileList["spec/unit/node_spec.rb", "spec/unit/role_spec.rb"] @@ -75,7 +75,7 @@ begin desc "Run the chef specs under spec/#{sub}" RSpec::Core::RakeTask.new(sub) do |t| puts "--- Running chef #{sub} specs" - t.verbose = true + t.verbose = false t.rspec_opts = %w{--profile} t.pattern = FileList["spec/#{sub}/**/*_spec.rb"] end |