]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/globalize2/test/test_helper.rb
Update to rails 2.3.8
[rails.git] / vendor / plugins / globalize2 / test / test_helper.rb
diff --git a/vendor/plugins/globalize2/test/test_helper.rb b/vendor/plugins/globalize2/test/test_helper.rb
deleted file mode 100644 (file)
index 956b352..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-require 'rubygems'
-require 'test/unit'
-require 'active_support'
-require 'active_support/test_case'
-require 'mocha'
-
-$LOAD_PATH << File.expand_path( File.dirname(__FILE__) + '/../lib' )
-
-class ActiveSupport::TestCase
-  def reset_db!( schema_path )
-    ::ActiveRecord::Migration.verbose = false   # Quiet down the migration engine
-    ::ActiveRecord::Base.establish_connection({
-      :adapter => 'sqlite3',
-      :dbfile => ':memory:'
-    })
-    ::ActiveRecord::Base.silence do
-      load schema_path
-    end
-  end
-  
-  def assert_member(item, arr)
-    assert_block "Item #{item} is not in array #{arr}" do
-      arr.member? item
-    end
-  end
-end
\ No newline at end of file