summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2014-12-17 12:12:49 -0500
committerBryan McLellan <btm@loftninjas.org>2014-12-17 12:12:49 -0500
commit0b27affcdb9145b3bd133948bab0b38fb7481a0c (patch)
tree0a71f9353cfaee3458fcb7bbd125b4a1f6f985e4 /spec
parent34a8affc37f80e6a742dbe8a130513897e6512a8 (diff)
parent2e7ffaa7d83343379476fd353cb2f5a351ba090e (diff)
downloadchef-0b27affcdb9145b3bd133948bab0b38fb7481a0c.tar.gz
Merge pull request #2661 from opscode/btm/appveyor11.18.0.r
Combination of all current PRs against master to get appveyor passing. Closes #2655, #2653, #2644, #2670.
Diffstat (limited to 'spec')
-rw-r--r--spec/functional/resource/registry_spec.rb2
-rw-r--r--spec/spec_helper.rb1
-rw-r--r--spec/unit/provider/execute_spec.rb1
3 files changed, 3 insertions, 1 deletions
diff --git a/spec/functional/resource/registry_spec.rb b/spec/functional/resource/registry_spec.rb
index d3120ac77c..f112ad9b00 100644
--- a/spec/functional/resource/registry_spec.rb
+++ b/spec/functional/resource/registry_spec.rb
@@ -40,7 +40,7 @@ describe Chef::Resource::RegistryKey, :unix_only do
end
end
-describe Chef::Resource::RegistryKey, :windows_only, :pending => "Refactor helper methods" do
+describe Chef::Resource::RegistryKey, :windows_only, :broken => true do
# parent and key must be single keys, not paths
let(:parent) { 'Opscode' }
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index b155e6da24..995be5060b 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -141,6 +141,7 @@ RSpec.configure do |config|
config.filter_run_excluding :openssl_lt_101 => true unless openssl_lt_101?
config.filter_run_excluding :ruby_lt_20 => true unless ruby_lt_20?
config.filter_run_excluding :aes_256_gcm_only => true unless aes_256_gcm?
+ config.filter_run_excluding :broken => true
running_platform_arch = `uname -m`.strip
diff --git a/spec/unit/provider/execute_spec.rb b/spec/unit/provider/execute_spec.rb
index 794994533e..51305b6225 100644
--- a/spec/unit/provider/execute_spec.rb
+++ b/spec/unit/provider/execute_spec.rb
@@ -39,6 +39,7 @@ describe Chef::Provider::Execute do
let(:new_resource) { Chef::Resource::Execute.new("foo_resource", run_context) }
before do
+ allow(Chef::Platform).to receive(:windows?) { false }
@original_log_level = Chef::Log.level
Chef::Log.level = :info
allow(STDOUT).to receive(:tty?).and_return(true)