aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_ENV.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-18 20:32:51 -0500
committerJack Nagel2014-06-18 20:32:51 -0500
commit982e9239b8ba2c2a49ccedec2a108a4580047bcb (patch)
tree2f14dcbb8f00b31631d33452359fb56bf6e501c9 /Library/Homebrew/test/test_ENV.rb
parent55950bec59c45884a457f596eae9a363e1a4f41c (diff)
downloadbrew-982e9239b8ba2c2a49ccedec2a108a4580047bcb.tar.bz2
Use a custom test class so we can avoid monkeypatching
Diffstat (limited to 'Library/Homebrew/test/test_ENV.rb')
-rw-r--r--Library/Homebrew/test/test_ENV.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_ENV.rb b/Library/Homebrew/test/test_ENV.rb
index 477dffa5b..a5ee46e88 100644
--- a/Library/Homebrew/test/test_ENV.rb
+++ b/Library/Homebrew/test/test_ENV.rb
@@ -1,7 +1,7 @@
require 'testing_env'
require 'extend/ENV'
-class EnvironmentTests < Test::Unit::TestCase
+class EnvironmentTests < Homebrew::TestCase
def setup
@env = {}.extend(EnvActivation)
@env.activate_extensions!
@@ -116,7 +116,7 @@ module SharedEnvTests
end
end
-class StdenvTests < Test::Unit::TestCase
+class StdenvTests < Homebrew::TestCase
include SharedEnvTests
def setup
@@ -124,7 +124,7 @@ class StdenvTests < Test::Unit::TestCase
end
end
-class SuperenvTests < Test::Unit::TestCase
+class SuperenvTests < Homebrew::TestCase
include SharedEnvTests
attr_reader :env, :bin