Sha256: e3c3c1050d7671c9fc22bc414f50fbde7162b321ccd3cbe17b372afc561607b8
Contents?: true
Size: 646 Bytes
Versions: 4
Compression:
Stored size: 646 Bytes
Contents
require 'rubygems' require 'test/unit' require 'active_support' require 'action_controller' require 'action_view/test_case' require 'shoulda' require 'asset_hat' require 'flexmock/test_unit' Dir[File.join(File.dirname(__FILE__), %w[.. app helpers *])].each { |f| require f } ActionController::Base.perform_caching = false unless defined?(Rails) # Enable `Rails.env.test?`, `Rails.env.development?`, etc. module Rails class << self def env ; ActiveSupport::StringInquirer.new('test') ; end end end end class ActionView::TestCase teardown :clear_html_cache def clear_html_cache AssetHat.html_cache = {} end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
asset_hat-0.1.5 | test/test_helper.rb |
asset_hat-0.1.4 | test/test_helper.rb |
asset_hat-0.1.3 | test/test_helper.rb |
asset_hat-0.1.2 | test/test_helper.rb |