Sha256: 4414408aa236a8d1de09f5ec9e65700530da563689613e814497797e41b7252f
Contents?: true
Size: 602 Bytes
Versions: 4
Compression:
Stored size: 602 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper.rb' describe RocketAMF::Values::ArrayCollection do it "should deserialize properly" do input = object_fixture("amf3-arrayCollection.bin") output = RocketAMF.deserialize(input, 3) output.should be_a(RocketAMF::Values::ArrayCollection) output.should == ["foo", "bar"] end it "should serialize properly" do expected = object_fixture('amf3-arrayCollection.bin') input = RocketAMF::Values::ArrayCollection.new input.push("foo", "bar") output = RocketAMF.serialize(input, 3) output.should == expected end end
Version data entries
4 entries across 4 versions & 2 rubygems