diff options
Diffstat (limited to 'spec/unit/plugins/windows/filesystem_spec.rb')
-rw-r--r-- | spec/unit/plugins/windows/filesystem_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/windows/filesystem_spec.rb b/spec/unit/plugins/windows/filesystem_spec.rb index e1f33b70..0d6c0632 100644 --- a/spec/unit/plugins/windows/filesystem_spec.rb +++ b/spec/unit/plugins/windows/filesystem_spec.rb @@ -66,7 +66,7 @@ describe Ohai::System, "Windows Filesystem Plugin", :windows_only do WmiLite::WmiException.new(exception, :ConnectServer, @namespace) end - before(:each) do + before do allow(plugin).to receive(:collect_os).and_return(:windows) end |