summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim Alam <salam@chef.io>2015-08-28 14:05:40 -0700
committerSalim Alam <salam@chef.io>2015-08-28 14:05:40 -0700
commitb3f007cbada1f13db443f61520db0396486ff5ad (patch)
tree63cf7d69abbdcecf4e657db04f922285e2d1f3b7
parent4907ac708d7d6d782a1a71c564af422e87a81bc9 (diff)
downloadchef-b3f007cbada1f13db443f61520db0396486ff5ad.tar.gz
More test guards
-rw-r--r--spec/unit/registry_helper_spec.rb2
-rw-r--r--spec/unit/resource/registry_key_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/registry_helper_spec.rb b/spec/unit/registry_helper_spec.rb
index b2d0b7b125..ce68ab2740 100644
--- a/spec/unit/registry_helper_spec.rb
+++ b/spec/unit/registry_helper_spec.rb
@@ -18,7 +18,7 @@
require 'spec_helper'
-describe Chef::Provider::RegistryKey do
+describe Chef::Provider::RegistryKey, :windows_only do
let(:value1) { { :name => "one", :type => :string, :data => "1" } }
let(:value1_upcase_name) { {:name => "ONE", :type => :string, :data => "1"} }
diff --git a/spec/unit/resource/registry_key_spec.rb b/spec/unit/resource/registry_key_spec.rb
index 2e2811d026..5b6e126292 100644
--- a/spec/unit/resource/registry_key_spec.rb
+++ b/spec/unit/resource/registry_key_spec.rb
@@ -18,7 +18,7 @@
require 'spec_helper'
-describe Chef::Resource::RegistryKey, "initialize" do
+describe Chef::Resource::RegistryKey, "initialize", :windows_only do
before(:each) do
@resource = Chef::Resource::RegistryKey.new('HKCU\Software\Raxicoricofallapatorius')
end