MemCache store may be given multiple addresses. Closes #2869.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2005-11-16 08:35:31 +00:00
parent 4cd8910279
commit 745ea39926
3 changed files with 39 additions and 35 deletions

View File

@@ -31,7 +31,7 @@ class FragmentCacheStoreSettingTest < Test::Unit::TestCase
ActionController::Caching::Fragments::MemCacheStore,
ActionController::Base.fragment_cache_store
)
assert_equal "localhost", ActionController::Base.fragment_cache_store.address
assert_equal %w(localhost), ActionController::Base.fragment_cache_store.addresses
end
def test_object_assigned_fragment_cache_store