blob: 0ecfccd3754a04087cb5edfcfaf6a4f522d7d7df (
plain) (
blame)
1
2
3
4
5
6
7
|
require "abstract_unit"
class ResolverCacheTest < ActiveSupport::TestCase
def test_inspect_shields_cache_internals
assert_match %r(#<ActionView::Resolver:0x[0-9a-f]+ @cache=#<ActionView::Resolver::Cache:0x[0-9a-f]+ keys=0 queries=0>>), ActionView::Resolver.new.inspect
end
end
|