summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/mixin/shell_out_spec.rb1
-rw-r--r--spec/unit/plugins/azure_spec.rb6
2 files changed, 5 insertions, 2 deletions
diff --git a/spec/unit/mixin/shell_out_spec.rb b/spec/unit/mixin/shell_out_spec.rb
index a754bdc1..d696546e 100644
--- a/spec/unit/mixin/shell_out_spec.rb
+++ b/spec/unit/mixin/shell_out_spec.rb
@@ -17,7 +17,6 @@
#
require "spec_helper"
-require "pry"
describe Ohai::Mixin::ShellOut, "shell_out" do
let(:cmd) { "sparkle-dream --version" }
diff --git a/spec/unit/plugins/azure_spec.rb b/spec/unit/plugins/azure_spec.rb
index 0d9353d8..f1950f46 100644
--- a/spec/unit/plugins/azure_spec.rb
+++ b/spec/unit/plugins/azure_spec.rb
@@ -17,7 +17,11 @@
#
require "spec_helper"
-require "win32/registry" unless defined?(Win32::Registry)
+begin
+ require "win32/registry" unless defined?(Win32::Registry)
+rescue LoadError => e
+ puts "Skipping missing rake dep: #{e}"
+end
describe Ohai::System, "plugin azure" do
let(:plugin) { get_plugin("azure") }