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:
parent
9c8227973c
commit
9a7ff1433a
@ -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 @@ def test_object_assigned_fragment_cache_store
|
||||
)
|
||||
assert_equal "/path/to/cache/directory", ActionController::Base.fragment_cache_store.cache_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user