Sha256: 3bb40c07daecca5aa1abcd34556a3518943f54fb9c19d32000369c12257cf9d2
Contents?: true
Size: 587 Bytes
Versions: 18
Compression:
Stored size: 587 Bytes
Contents
require "test_helper" require "helpers/serialization_format" class SerializationFormatChangeTest < IdentityCache::TestCase include SerializationFormat MESSAGE = "serialization format changed => increment IdentityCache.CACHE_VERSION and run rake update_serialization_format" def test_serialization_format_has_not_changed serialization = Marshal.load(serialize(serialized_record)) preserialization = Marshal.load(File.binread(serialized_record_file)) assert_equal(preserialization, serialization, MESSAGE) rescue SystemCallError assert(false, MESSAGE) end end
Version data entries
18 entries across 18 versions & 1 rubygems