Sha256: c7d9c075926c45a02267b5d5224ad6558fe189a5116e3d0674deb5c13e1403f6
Contents?: true
Size: 225 Bytes
Versions: 1
Compression:
Stored size: 225 Bytes
Contents
require 'json' module CacheableFlash module TestHelpers def flash_cookie return {} unless response.cookies['flash'] JSON(response.cookies['flash']) rescue JSON::ParserError {} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cacheable_flash-0.2.10 | lib/cacheable_flash/test_helpers.rb |