Sha256: b0112f425f3894b8c03ccdf1bd24cc10c7ea611ebe1f9cbe8068fc866374a383

Contents?: true

Size: 524 Bytes

Versions: 2

Compression:

Stored size: 524 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

require 'rubygems'
require 'test/unit'

require 'socket'
require 'timeout'

TEST_RAILS_ROOT = File.expand_path('../fixtures/rails_root_23', __FILE__)

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| load f }

require File.join(TEST_RAILS_ROOT, 'config/environment.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

2 entries across 2 versions & 1 rubygems

Version Path
active_assets-0.3.1 test/helper.rb
active_assets-0.3.0 test/helper.rb