spec/lib/serializer_spec.rb in vx-lib-consumer-0.3.3 vs spec/lib/serializer_spec.rb in vx-lib-consumer-0.3.4

- old
+ new

@@ -54,6 +54,13 @@ it "should unpack payload" do expect(s.unpack('application/x-protobuf', payload.encode.to_s, BeefcakeTestMessage)).to eq payload end end + + context "none" do + let(:payload) { "body" } + it "should pack" do + expect(s.pack("none", payload)).to eq payload + end + end end