diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-16 17:38:38 -0800 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2014-12-16 21:10:07 -0500 |
commit | 5466700b0f782e85579c4141316efe5600ebb5f5 (patch) | |
tree | df38abc6251744ad9e5f8cc49509e8790cd8b70d /spec | |
parent | e8c110d027134ab59346eb5de1e145930fb0d773 (diff) | |
download | chef-5466700b0f782e85579c4141316efe5600ebb5f5.tar.gz |
Disable broken registry_spec testsbtm/appveyor
The registry_spec has been broken since we switched to rspec 3
:pending was running the tests, but expecting them to fail. There
seems to be a bug where if there is a failure outside the test,
in our case the before block was silently raising an exception
accessing resource_name, the tests would fail as expected but
rspec would return with an exit code of 1
Diffstat (limited to 'spec')
-rw-r--r-- | spec/functional/resource/registry_spec.rb | 2 | ||||
-rw-r--r-- | spec/spec_helper.rb | 1 |
2 files changed, 2 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 |