Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup some whitespace

  • Loading branch information...
commit d96e7a5616b8fa0b5c585bfe5da8b64b77bf7a05 1 parent 027ffb0
@staugaard authored
View
2  lib/active_support/cache/libmemcached_store.rb
@@ -63,7 +63,7 @@ def delete(key, options = nil)
@cache.delete(key)
true
rescue Memcached::NotFound
- nil
+ nil
rescue Memcached::Error => e
log_error(e)
false
View
12 test/libmemcached_store_test.rb
@@ -55,20 +55,20 @@ def test_should_allow_configuration_of_custom_options
assert_equal false, store.options[:no_block]
assert_equal false, store.options[:auto_eject_hosts]
end
-
+
def test_should_use_local_cache
@store.with_local_cache do
@store.write('key', 'value')
- assert_equal 'value', @store.send(:local_cache).read('key')
+ assert_equal 'value', @store.send(:local_cache).read('key')
end
-
+
assert_equal 'value', @store.read('key')
end
-
- def test_should_read_multiple_keys
+
+ def test_should_read_multiple_keys
@store.write('a', 1)
@store.write('b', 2)
-
+
assert_equal({ 'a' => 1, 'b' => 2 }, @store.read_multi('a', 'b', 'c'))
assert_equal({}, @store.read_multi())
end
Please sign in to comment.
Something went wrong with that request. Please try again.