spec/integration/load/protocol3_spec.rb in python-pickle-0.1.1 vs spec/integration/load/protocol3_spec.rb in python-pickle-0.2.0

- old
+ new

@@ -102,9 +102,19 @@ ) end end end + context "and it contains a set type" do + let(:file) { File.join(fixtures_dir,'set_v3.pkl') } + + it "must return a Set object" do + expect(subject.load(io)).to eq( + Set[1, 2, 3, 4] + ) + end + end + context "and it contains a dict type" do let(:file) { File.join(fixtures_dir,'dict_v3.pkl') } it "must return an Array object" do expect(subject.load(io)).to eq(