aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-01-02 13:40:23 -0600
committerJoshua Peek <josh@joshpeek.com>2009-01-02 13:40:23 -0600
commit104898fcb7958bcb69ba0239d6de8aa37f2da9ba (patch)
tree138434f3d7d9d25ad1eb0f0e2b8fd77745068851 /actionpack/test
parent606176a55b90c27687ae17f40fd1af0a86b62246 (diff)
downloadrails-104898fcb7958bcb69ba0239d6de8aa37f2da9ba.tar.gz
rails-104898fcb7958bcb69ba0239d6de8aa37f2da9ba.tar.bz2
rails-104898fcb7958bcb69ba0239d6de8aa37f2da9ba.zip
Revert to the good old days when AssetTag didn't cause anyone problems
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/dispatcher_test.rb5
-rw-r--r--actionpack/test/template/asset_tag_helper_test.rb2
2 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/test/controller/dispatcher_test.rb b/actionpack/test/controller/dispatcher_test.rb
index da87d26146..7cd4e71aa1 100644
--- a/actionpack/test/controller/dispatcher_test.rb
+++ b/actionpack/test/controller/dispatcher_test.rb
@@ -32,11 +32,6 @@ class DispatcherTest < Test::Unit::TestCase
dispatch(false)
end
- def test_clears_asset_tag_cache_before_dispatch_if_in_loading_mode
- ActionView::Helpers::AssetTagHelper::AssetTag::Cache.expects(:clear).once
- dispatch(false)
- end
-
def test_leaves_dependencies_after_dispatch_if_not_in_loading_mode
ActionController::Routing::Routes.expects(:reload).never
ActiveSupport::Dependencies.expects(:clear).never
diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb
index 41e7125e01..5e2fc20167 100644
--- a/actionpack/test/template/asset_tag_helper_test.rb
+++ b/actionpack/test/template/asset_tag_helper_test.rb
@@ -38,8 +38,6 @@ class AssetTagHelperTest < ActionView::TestCase
@controller.request = @request
ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
- AssetTag::Cache.clear
- AssetCollection::Cache.clear
end
def teardown