test/test_padrino_cache.rb in padrino-cache-0.13.0.beta2 vs test/test_padrino_cache.rb in padrino-cache-0.13.0.beta3

- old
+ new

@@ -471,8 +471,12 @@ mock_app do set :cache, Padrino::Cache.new(:Memory) register Padrino::Cache end - assert @app.cache.adapter.adapter.is_a?(Moneta::Adapters::Memory) + adapter = @app.cache.adapter + while adapter.respond_to? :adapter + adapter = adapter.adapter + end + assert_kind_of Moneta::Adapters::Memory, adapter end end