summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/wmi_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/wmi_spec.rb b/spec/unit/wmi_spec.rb
index bc63d32..beaaa46 100644
--- a/spec/unit/wmi_spec.rb
+++ b/spec/unit/wmi_spec.rb
@@ -56,6 +56,7 @@ describe WmiLite::Wmi do
end
before(:each) do
+ stub_const('WIN32OLE', Class.new)
WIN32OLE.stub(:new).with("WbemScripting.SWbemLocator").and_return(wbem_locator)
end