Sha256: f23dedd1c149fadce302d39024b4f8f0b49f18ffe2d198e6135a0f8029dfafc7
Contents?: true
Size: 347 Bytes
Versions: 4
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true require "cases/helper" module ActiveRecord module Coders class JSONTest < ActiveRecord::TestCase def test_returns_nil_if_empty_string_given assert_nil JSON.load("") end def test_returns_nil_if_nil_given assert_nil JSON.load(nil) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems