aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-05-27 07:38:09 +0000
committerRick Olson <technoweenie@gmail.com>2007-05-27 07:38:09 +0000
commitcd599aad715679355d16caf3585901034fca5a87 (patch)
treea41ba5076e90929477040aeaa5c59bb6d15e3d86 /actionpack/test/controller
parent62455f56b495144bfc798985c013c62792ef31b6 (diff)
downloadrails-cd599aad715679355d16caf3585901034fca5a87.tar.gz
rails-cd599aad715679355d16caf3585901034fca5a87.tar.bz2
rails-cd599aad715679355d16caf3585901034fca5a87.zip
Action Caching speedup. #8231 [skaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/caching_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb
index b5846acafd..dcbe27622d 100644
--- a/actionpack/test/controller/caching_test.rb
+++ b/actionpack/test/controller/caching_test.rb
@@ -224,7 +224,7 @@ class ActionCacheTest < Test::Unit::TestCase
def test_xml_version_of_resource_is_treated_as_different_cache
@mock_controller.mock_url_for = 'http://example.org/posts/'
@mock_controller.mock_path = '/posts/index.xml'
- path_object = @path_class.new(@mock_controller)
+ path_object = @path_class.new(@mock_controller, {})
assert_equal 'xml', path_object.extension
assert_equal 'example.org/posts/index.xml', path_object.path
end
@@ -233,7 +233,7 @@ class ActionCacheTest < Test::Unit::TestCase
@mock_controller.mock_url_for = 'http://example.org/'
@mock_controller.mock_path = '/'
- assert_equal 'example.org/index', @path_class.path_for(@mock_controller)
+ assert_equal 'example.org/index', @path_class.path_for(@mock_controller, {})
end
def test_file_extensions