diff --git a/spec/unit/plugins/packages_spec.rb b/spec/unit/plugins/packages_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/plugins/packages_spec.rb
+++ b/spec/unit/plugins/packages_spec.rb
@@ -84,7 +84,7 @@ describe Ohai::System, "plugin packages" do
     end
   end
 
-  context "on windows" do
+  context "on windows", :windows_only do
 
     require 'wmi-lite'
make sure to only test wmi-lite on windows