diff options
Diffstat (limited to 'spec/support/matchers/leak.rb')
-rw-r--r-- | spec/support/matchers/leak.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/leak.rb b/spec/support/matchers/leak.rb index 5f22c1c151..4c6ca66d06 100644 --- a/spec/support/matchers/leak.rb +++ b/spec/support/matchers/leak.rb @@ -60,7 +60,7 @@ module Matchers def profiler @profiler ||= begin - if Chef::Platform.windows? + if ChefHelpers.windows? require File.join(File.dirname(__FILE__), "..", "platforms", "prof", "win32") RSpec::Prof::Win32::Profiler.new else |