r3575@sedna: jeremy | 2005-10-13 11:22:13 -0700

Eliminate warning for redefined MemCache constant.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2005-10-13 19:05:41 +00:00
parent 9c8227973c
commit 9a7ff1433a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../abstract_unit'
MemCache = Struct.new(:MemCache, :address)
MemCache = Struct.new(:MemCache, :address) unless Object.const_defined?(:MemCache)
class FragmentCacheStoreSettingTest < Test::Unit::TestCase
def teardown
@ -42,4 +42,4 @@ class FragmentCacheStoreSettingTest < Test::Unit::TestCase
)
assert_equal "/path/to/cache/directory", ActionController::Base.fragment_cache_store.cache_path
end
end
end