Permalink
Browse files

Update tests to reflect that the 'namespace' option was renamed to 'p…

…refix_key' in memcached-0.11
  • Loading branch information...
1 parent e417fab commit a8224ae3220876802af3ace6e775f416657ce11f @packagethief packagethief committed Aug 23, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/libmemcached_store_test.rb
View
4 test/libmemcached_store_test.rb
@@ -42,15 +42,15 @@ 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
}
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]

0 comments on commit a8224ae

Please sign in to comment.