Sha256: d6025e460c23660502e3d20f5cbfd248330bb73ca0d1284697424880cdac792b
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
require 'spec_helper' module MessageDriver::Message describe Base do describe "#initialize" do let(:body) { "The message body" } let(:headers) { { foo: :bar, bar: :baz} } let(:properties) { {persistent: true, client_ack: true} } context "sets the body, header and properites on initialization" do subject { described_class.new(body, headers, properties) } its(:body) { should eq(body) } its(:headers) { should eq(headers) } its(:properties) { should eq(properties) } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.1.0 | spec/units/message_driver/message_spec.rb |