aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-10-13 19:05:41 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-10-13 19:05:41 +0000
commit9a7ff1433acbc31c456a462dafa5091d27819865 (patch)
tree9c8cd0e8884cabeb4d10451f796a1775b0726bb4 /actionpack/test/controller
parent9c8227973cd5fc00f1df199756220712ae78f6dc (diff)
downloadrails-9a7ff1433acbc31c456a462dafa5091d27819865.tar.gz
rails-9a7ff1433acbc31c456a462dafa5091d27819865.tar.bz2
rails-9a7ff1433acbc31c456a462dafa5091d27819865.zip
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
Diffstat (limited to 'actionpack/test/controller')
-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