Sha256: 765b847b5880b61d045f1e92dec90e6cd3203312439640756b67c8c78ee9a18f

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :message, class: 'DispatchRider::Message' do
    subject { 'sample_handler' }
    body {
      {
        'key' => 'value',
        'guid' => DispatchRider::Debug::PUBLISHER_MESSAGE_GUID,
      }
    }
    initialize_with {  DispatchRider::Message.new(attributes) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 spec/factories/messages.rb