Sha256: 9b8e2ca7c7e1f1558245bf947fef634f00e00a87c63174e47c0d3111ccdf6d8d
Contents?: true
Size: 563 Bytes
Versions: 10
Compression:
Stored size: 563 Bytes
Contents
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__) Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| load f } load File.join(TEST_RAILS_ROOT, 'config/application.rb') class Test::Unit::TestCase include RailsHelper def sprites Rails.application.sprites end def tear_down_assets Rails.application.sprites.clear Rails.application.expansions.clear end end
Version data entries
10 entries across 10 versions & 1 rubygems