Sha256: 9646c932a7c06e27c8a41bf222e8c9d3a1cf11ad4e32dfd536e9de582b003b78

Contents?: true

Size: 298 Bytes

Versions: 12

Compression:

Stored size: 298 Bytes

Contents

shared_examples "a message" do
  let(:id) { 1 }
  let(:body) { "test" }
  let(:queue) { nil }
  let(:message_object) { double "wrapped message" }
  subject { described_class.new message_object }

  it { should respond_to :id }
  it { should respond_to :body }
  it { should respond_to :queue }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
queuel-0.4.8 spec/support/message_shared_example.rb
queuel-0.4.6 spec/support/message_shared_example.rb
queuel-0.4.5 spec/support/message_shared_example.rb
queuel-0.4.4 spec/support/message_shared_example.rb
queuel-0.4.3 spec/support/message_shared_example.rb
queuel-0.4.2 spec/support/message_shared_example.rb
queuel-0.4.1 spec/support/message_shared_example.rb
queuel-0.4.0 spec/support/message_shared_example.rb
queuel-0.3.1 spec/support/message_shared_example.rb
queuel-0.3.0 spec/support/message_shared_example.rb
queuel-0.2.0 spec/support/message_shared_example.rb
queuel-0.1.0 spec/support/message_shared_example.rb