Skip to content

Commit

Permalink
Update tests to reflect that the 'namespace' option was renamed to 'p…
Browse files Browse the repository at this point in the history
…refix_key' in memcached-0.11
  • Loading branch information
packagethief committed Aug 23, 2008
1 parent e417fab commit a8224ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/libmemcached_store_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a8224ae

Please sign in to comment.