commit
e69620c69a
|
@ -314,7 +314,11 @@ class MemCacheStoreTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def servers(cache = @cache)
|
def servers(cache = @cache)
|
||||||
client(cache).instance_variable_get(:@servers)
|
if client(cache).instance_variable_defined?(:@normalized_servers)
|
||||||
|
client(cache).instance_variable_get(:@normalized_servers)
|
||||||
|
else
|
||||||
|
client(cache).instance_variable_get(:@servers)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def client(cache = @cache)
|
def client(cache = @cache)
|
||||||
|
|
Loading…
Reference in New Issue