spec/support/ohai_helpers.rb in omnibus-8.3.2 vs spec/support/ohai_helpers.rb in omnibus-9.0.8
- old
+ new
@@ -12,10 +12,10 @@
allow(Ohai).to receive(:ohai).and_return(ohai)
# If we asked for Windows, we should also specify that magical
# +File::ALT_SEPARATOR+ variable
if options[:platform] && options[:platform] == "windows"
- stub_const("File::ALT_SEPARATOR", '\\')
+ stub_const("File::ALT_SEPARATOR", '\\') # rubocop:disable Style/StringLiterals
end
end
end
end
end