require 'test/unit'
require 'active_support'
require 'active_support/test_case'
require 'active_record'
require 'logger'


plugin_test_dir = File.dirname(__FILE__)

ActiveRecord::Base.logger = Logger.new(File.join(plugin_test_dir, "debug.log"))
ActiveRecord::Base.configurations = YAML::load(  IO.read( File.join(plugin_test_dir, 'db', 'database.yml')  ) )
ActiveRecord::Base.establish_connection("sqlite3mem")
ActiveRecord::Migration.verbose = false
load(File.join(plugin_test_dir, "db", "schema.rb"))

require 'easy_globalize3_accessors'
I18n.available_locales = [:en, :pl]
require 'i18n'
I18n.available_locales = [:en, :pl]

require 'test/unit'
require 'active_support'
require 'active_support/test_case'
require 'logger'

require 'easy_globalize3_accessors' # => globalize3 => active_record

plugin_test_dir = File.dirname(__FILE__)

ActiveRecord::Base.logger = Logger.new(File.join(plugin_test_dir, "debug.log"))
ActiveRecord::Base.configurations = YAML::load(  IO.read( File.join(plugin_test_dir, 'db', 'database.yml')  ) )
ActiveRecord::Base.establish_connection("sqlite3mem")
ActiveRecord::Migration.verbose = false
load(File.join(plugin_test_dir, "db", "schema.rb"))

Change order of things here and there
Change order of things here and there
