Permalink
Browse files

Tests use a memcached running on localhost:11211 by default

  • Loading branch information...
1 parent 75ee11b commit 9067b3ecc097f2cf149b8ba1e7186d8b19714fb7 @rtomayko rtomayko committed Jun 6, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/spec_setup.rb
View
@@ -13,7 +13,7 @@
# Set the MEMCACHED environment variable as follows to enable testing
# of the MemCached meta and entity stores.
-ENV['MEMCACHED'] ||= 'localhost:11215'
+ENV['MEMCACHED'] ||= 'localhost:11211'
$memcached = nil
$memcache = nil
@@ -70,7 +70,6 @@ def need_memcache(forwhat)
end
def need_java(forwhat)
-
if RUBY_PLATFORM =~ /java/
yield
else

0 comments on commit 9067b3e

Please sign in to comment.