Permalink
Browse files

Cleaned up test_libs

  • Loading branch information...
1 parent 2c22dfa commit 8e0971f4c32c62dd1ea747e3da174d2f5178aa40 @binarylogic committed Nov 10, 2008
File renamed without changes.
File renamed without changes.
View
@@ -3,8 +3,8 @@
require "ruby-debug"
require "active_record"
require "active_record/fixtures"
-require File.dirname(__FILE__) + '/../test_libs/acts_as_tree'
-require File.dirname(__FILE__) + '/../test_libs/rexml_fix'
+require File.dirname(__FILE__) + '/libs/acts_as_tree'
+require File.dirname(__FILE__) + '/libs/rexml_fix'
require File.dirname(__FILE__) + '/../lib/searchlogic' unless defined?(Searchlogic)
ActiveRecord::Schema.verbose = false
@@ -1,9 +0,0 @@
-class Hash
- def each(&block)
- sorted_keys = keys.sort { |a, b| a.to_s <=> b.to_s }
- sorted_keys.each do |key|
- yield key, self[key]
- end
- self
- end
-end

0 comments on commit 8e0971f

Please sign in to comment.