aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/testing_env.rb
diff options
context:
space:
mode:
authorJack Nagel2012-09-27 16:22:01 -0500
committerJack Nagel2012-09-27 16:22:01 -0500
commit6ebcccdcc58a0bd9b33730d3b7423811126e00ca (patch)
tree37e99599b650b54535354e3ebdc817449d39de8e /Library/Homebrew/test/testing_env.rb
parent8d3ff5691d330364275bf8288ba543ed2f98e6c7 (diff)
downloadbrew-6ebcccdcc58a0bd9b33730d3b7423811126e00ca.tar.bz2
Make FileUtils extension available globally
Now that we are monkeypatching copy_metadata, we should load our extension up front for consistency. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/test/testing_env.rb')
-rw-r--r--Library/Homebrew/test/testing_env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb
index 1333db5a8..a93fe6872 100644
--- a/Library/Homebrew/test/testing_env.rb
+++ b/Library/Homebrew/test/testing_env.rb
@@ -7,6 +7,7 @@
ABS__FILE__=File.expand_path(__FILE__)
$:.push(File.expand_path(__FILE__+'/../..'))
+require 'extend/fileutils'
require 'extend/pathname'
require 'extend/string'
require 'exceptions'
@@ -31,7 +32,6 @@ at_exit { HOMEBREW_PREFIX.parent.rmtree }
# Test fixtures and files can be found relative to this path
TEST_FOLDER = Pathname.new(ABS__FILE__).parent.realpath
-require 'fileutils'
module Homebrew extend self
include FileUtils
end