spec/support/test_helpers.rb in cacheable_flash-0.2.2 vs spec/support/test_helpers.rb in cacheable_flash-0.2.3

- old
+ new

@@ -1,10 +1,10 @@ -module CacheableFlash - module TestHelpers - def flash_cookie - return {} unless cookies['flash'] - ActiveSupport::JSON.decode(cookies['flash']) - rescue JSON::ParserError - {} - end - end -end +module CacheableFlash + module TestHelpers + def flash_cookie + return {} unless cookies['flash'] + ActiveSupport::JSON.decode(cookies['flash']) + rescue JSON::ParserError + {} + end + end +end