aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/caching_test.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb
index 64d8792dde..18923f61d1 100644
--- a/activesupport/test/caching_test.rb
+++ b/activesupport/test/caching_test.rb
@@ -257,10 +257,6 @@ module CacheStoreBehavior
assert_nil @cache.fetch('foo') { 'baz' }
end
- def test_fetch_with_array_and_without
- assert_not_equal @cache.fetch('foo') { 'barz' }, @cache.fetch(['foo']) { 'barr' }
- end
-
def test_should_read_and_write_hash
assert @cache.write('foo', {:a => "b"})
assert_equal({:a => "b"}, @cache.read('foo'))
@@ -353,7 +349,7 @@ module CacheStoreBehavior
def test_array_as_cache_key
@cache.write([:fu, "foo"], "bar")
- assert_equal "bar", @cache.read("fu/foo/")
+ assert_equal "bar", @cache.read("fu/foo")
end
def test_hash_as_cache_key