Sha256: e734bd0c9ccf2794675d7144bde1c9e794aad074dd4345bf49378ec1b8e8f731
Contents?: true
Size: 377 Bytes
Versions: 106
Compression:
Stored size: 377 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "spec_helper") describe SafeYAML::Transform do it "should return the same encoding when decoding Base64" do value = "c3VyZS4=" decoded = SafeYAML::Transform.to_proper_type(value, false, "!binary") decoded.should == "sure." decoded.encoding.should == value.encoding if decoded.respond_to?(:encoding) end end
Version data entries
106 entries across 106 versions & 3 rubygems