Sha256: 2404c897abc23d2d5a296b7e346f193f40592a56137de4035d80d4b878dfb004
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
require 'rubygems' require 'test/unit' require 'active_support' require 'action_controller' require 'action_view/test_case' require 'shoulda' require 'flexmock/test_unit' require 'asset_hat' require 'asset_hat_helper' ActionController::Base.perform_caching = false unless defined?(Rails) module Rails class << self # Enable `Rails.env.test?`, `Rails.env.development?`, etc. def env; ActiveSupport::StringInquirer.new('test'); end end end end class ActionView::TestCase teardown :clear_html_cache def clear_html_cache AssetHat.clear_html_cache end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
asset_hat-0.4.2 | test/test_helper.rb |
asset_hat-0.4.1 | test/test_helper.rb |
asset_hat-0.4.0 | test/test_helper.rb |