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

Version Path
active_assets-1.1.0 test/helper.rb
active_assets-1.0.2 test/helper.rb
active_assets-1.0.1 test/helper.rb
active_assets-1.0.0 test/helper.rb
active_assets-1.0.0.rc1 test/helper.rb
active_assets-0.2.8 test/helper.rb
active_assets-0.2.7 test/helper.rb
active_assets-0.2.6 test/helper.rb
active_assets-0.2.5 test/helper.rb
active_assets-0.2.4 test/helper.rb