Sha256: 8203bb57acc9cb2f0cc383e26bc1fa7aaf0526732c28b84dfe2e49dcd114df19
Contents?: true
Size: 374 Bytes
Versions: 19
Compression:
Stored size: 374 Bytes
Contents
require File.expand_path('../../../spec/helper', __FILE__) require File.expand_path('../../../examples/helpers/cache', __FILE__) describe 'Caching' do behaves_like :rack_test it '/' do 3.times do lambda{ get('/') }.should.not.change{ get('/').body } end 3.times do lambda{ get('/invalidate') }.should.change{ get('/').body } end end end
Version data entries
19 entries across 19 versions & 3 rubygems