fix MessageEncryptor isolation tests
5d0c2b0
added a usage of String#starts_with? which won't work in
isolation tests because its a core extension alias
This commit is contained in:
parent
a9bbc92642
commit
a4feb9e111
|
@ -26,7 +26,7 @@ module ActiveSupport
|
|||
|
||||
def load(value)
|
||||
if self.fallback_to_marshal_deserialization
|
||||
if value.starts_with?(MARSHAL_SIGNATURE)
|
||||
if value.start_with?(MARSHAL_SIGNATURE)
|
||||
logger.warn("JsonWithMarshalFallback: Marshal load fallback occurred.") if logger
|
||||
Marshal.load(value)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue