test/helper.rb in active_assets-0.2.8 vs test/helper.rb in active_assets-0.3.0

- old
+ new

@@ -1,20 +1,17 @@ ENV['RAILS_ENV'] ||= 'test' require 'rubygems' require 'test/unit' -require 'rails/all' -require 'active_assets' - require 'socket' require 'timeout' -TEST_RAILS_ROOT = File.expand_path('../fixtures/rails_root', __FILE__) +TEST_RAILS_ROOT = File.expand_path('../fixtures/rails_root_23', __FILE__) Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| load f } -load File.join(TEST_RAILS_ROOT, 'config/application.rb') +require File.join(TEST_RAILS_ROOT, 'config/environment.rb') class Test::Unit::TestCase include RailsHelper def sprites