Sha256: 45cbbc636a2718852eab6af4d7d4bf88c8f48e00fbdce06745a84d834ab672fe
Contents?: true
Size: 330 Bytes
Versions: 6
Compression:
Stored size: 330 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
6 entries across 6 versions & 2 rubygems