summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-04-30 16:28:26 -0700
committerGitHub <noreply@github.com>2020-04-30 16:28:26 -0700
commitd56749986dd14cb9faf418c81d5c248200e45404 (patch)
tree08e2720f5ad376165bdb8091c074caf77263ac55
parentceb3cd2fbdcd06ddf3f10cf28f56f8f4d4dd9d9b (diff)
parent1ce08788652f192047b5e64ed2c4c3e9674a42cf (diff)
downloadchef-d56749986dd14cb9faf418c81d5c248200e45404.tar.gz
Merge pull request #9774 from chef/unused_spec_helper
Remove an unused spec helper
-rw-r--r--spec/support/platform_helpers.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb
index 0e98fce621..1d0f8fa2b6 100644
--- a/spec/support/platform_helpers.rb
+++ b/spec/support/platform_helpers.rb
@@ -95,19 +95,6 @@ def windows_user_right?(right)
Chef::ReservedNames::Win32::Security.get_account_right(ENV["USERNAME"]).include?(right)
end
-def mac_osx_106?
- if File.exists? "/usr/bin/sw_vers"
- result = ShellHelpers.shell_out("/usr/bin/sw_vers")
- result.stdout.each_line do |line|
- if line =~ /^ProductVersion:\s10.6.*$/
- return true
- end
- end
- end
-
- false
-end
-
def mac_osx_1014?
if mac_osx?
ver = Chef::Version.new(ohai[:platform_version])