Sha256: 3167071c05674a22ffe7516238d7c4310fb5d735bc6085f402cd0f4a0de4b652
Contents?: true
Size: 235 Bytes
Versions: 1
Compression:
Stored size: 235 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.9 | lib/cacheable_flash/test_helpers.rb |