test/test_padrino_cache.rb in padrino-cache-0.10.5 vs test/test_padrino_cache.rb in padrino-cache-0.10.6.a
- old
+ new
@@ -85,17 +85,17 @@
end
end
get "/foo"
assert_equal 200, status
assert_equal 'foo', body
- assert_equal 'foo', @app.cache.get(:foo)
+ assert_equal 'foo', @app.cache.get(:foo)[:response_buffer]
get "/foo"
assert_equal 'foo', body
get "/bar"
assert_equal 200, status
assert_equal 'bar', body
- assert_equal 'bar', @app.cache.get(:bar)
+ assert_equal 'bar', @app.cache.get(:bar)[:response_buffer]
get "/bar"
assert_equal 'bar', body
end
should 'delete based on urls' do