Sha256: 025c05acb021dba73c3900d67c850601e4a87bf98d8fcc83f8b53e6b83c4a319
Contents?: true
Size: 524 Bytes
Versions: 4
Compression:
Stored size: 524 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require 'test/unit' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
active_assets-1.1.3 | test/helper.rb |
active_assets-1.1.2 | test/helper.rb |
active_assets-1.1.1 | test/helper.rb |
active_assets-1.0.3 | test/helper.rb |