From a8224ae3220876802af3ace6e775f416657ce11f Mon Sep 17 00:00:00 2001 From: Jeffrey Hardy Date: Sat, 23 Aug 2008 19:42:08 -0400 Subject: [PATCH] Update tests to reflect that the 'namespace' option was renamed to 'prefix_key' in memcached-0.11 --- test/libmemcached_store_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libmemcached_store_test.rb b/test/libmemcached_store_test.rb index 4b471cb..1354c49 100644 --- a/test/libmemcached_store_test.rb +++ b/test/libmemcached_store_test.rb @@ -42,7 +42,7 @@ def test_should_enable_server_failover_by_default def test_should_allow_configuration_of_custom_options options = { - :namespace => 'test', + :prefix_key => 'test', :distribution => :modula, :no_block => false, :failover => false @@ -50,7 +50,7 @@ def test_should_allow_configuration_of_custom_options store = ActiveSupport::Cache.lookup_store :libmemcached_store, 'localhost', options - assert_equal 'test', store.options[:namespace] + assert_equal 'test', store.options[:prefix_key] assert_equal :modula, store.options[:distribution] assert_equal false, store.options[:no_block] assert_equal false, store.options[:failover]