summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/scaleway_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/plugins/scaleway_spec.rb')
-rw-r--r--spec/unit/plugins/scaleway_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/plugins/scaleway_spec.rb b/spec/unit/plugins/scaleway_spec.rb
index 1869322a..238cd51d 100644
--- a/spec/unit/plugins/scaleway_spec.rb
+++ b/spec/unit/plugins/scaleway_spec.rb
@@ -21,6 +21,7 @@ describe Ohai::System, "plugin scaleway" do
let(:plugin) { get_plugin("scaleway") }
before do
+ allow(plugin).to receive(:collect_os).and_return(:linux)
allow(plugin).to receive(:hint?).with("scaleway").and_return(false)
allow(plugin).to receive(:file_exist?).with("/proc/cmdline").and_return(false)
end