aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_hardware.rb
diff options
context:
space:
mode:
authorJack Nagel2013-06-13 12:04:58 -0500
committerJack Nagel2013-06-14 10:34:17 -0500
commit50db35e5d367107ecbbcbd2a13c20669d19270d4 (patch)
tree4813c532f24fe8f27223da1ce10632ba27fdb4ca /Library/Homebrew/test/test_hardware.rb
parentdc454aad923b020475944cfdd3b5167ccd3071b7 (diff)
downloadbrew-50db35e5d367107ecbbcbd2a13c20669d19270d4.tar.bz2
Use Hardware::CPU module
Diffstat (limited to 'Library/Homebrew/test/test_hardware.rb')
-rw-r--r--Library/Homebrew/test/test_hardware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_hardware.rb b/Library/Homebrew/test/test_hardware.rb
index 2f9787c9c..766ff7afd 100644
--- a/Library/Homebrew/test/test_hardware.rb
+++ b/Library/Homebrew/test/test_hardware.rb
@@ -9,7 +9,7 @@ class HardwareTests < Test::Unit::TestCase
end
def test_hardware_intel_family
- if Hardware.cpu_type == :intel
+ if Hardware::CPU.type == :intel
assert [:core, :core2, :penryn, :nehalem,
:arrandale, :sandybridge, :ivybridge].include?(Hardware::CPU.family)
end