aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/fragment_store_setting_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/fragment_store_setting_test.rb')
-rw-r--r--actionpack/test/controller/fragment_store_setting_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/fragment_store_setting_test.rb b/actionpack/test/controller/fragment_store_setting_test.rb
index fde70965f6..7d0c0b61aa 100644
--- a/actionpack/test/controller/fragment_store_setting_test.rb
+++ b/actionpack/test/controller/fragment_store_setting_test.rb
@@ -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 \ No newline at end of file
+end