test/unit/rails_test.rb in memcached-1.7.2 vs test/unit/rails_test.rb in memcached-1.8.0
- old
+ new
@@ -51,10 +51,10 @@
end
def test_delete_missing
assert_nothing_raised do
@cache.delete key
- assert_nil(@cache.delete(key))
+ assert !@cache.delete(key)
end
end
def test_delete_with_two_arguments
assert_nothing_raised do