Sha256: 37eb999c4230764539ef20c67502323f07c04ea52d8b543b8a3ff359be4ec623

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

require 'logger'

ASSET_ROOT = File.expand_path('test')
devnull = RUBY_PLATFORM =~ /mswin|mingw|bccwin|wince|emx/ ? 'nul' : '/dev/null'
RAILS_DEFAULT_LOGGER = Logger.new(devnull)
RAILS_ENV = "test"
RAILS_ROOT = File.expand_path('test')
ENV["RAILS_ASSET_ID"] = "101"

require 'lib/jammit'
gem 'rails'
require 'initializer'
Jammit.load_configuration(Jammit::DEFAULT_CONFIG_PATH)

def glob(g)
  Dir.glob(g).sort
end

class Test::Unit::TestCase

  PRECACHED_FILES = %w(
    test/precache/test-datauri.css
    test/precache/test-datauri.css.gz
    test/precache/test-mhtml.css
    test/precache/test-mhtml.css.gz
    test/precache/test.css
    test/precache/test.css.gz
    test/precache/test.js
    test/precache/test.js.gz
    test/precache/test.jst
    test/precache/test.jst.gz
  )

  PRECACHED_SOURCES = %w(
    test/precache/test-datauri.css
    test/precache/test-mhtml.css
    test/precache/test.css
    test/precache/test.js
    test/precache/test.jst
  )

  include Jammit

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jammit-core-0.1.1 test/test_helper.rb
jammit-core-0.1.0 test/test_helper.rb