Sha256: 9dfbb81effedeb8d3e29ec43cd8a5a9253752630063333d5dc8efce67f3ccd1e

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 spec/factories/messages.rb
dispatch-rider-2.0.0 spec/factories/messages.rb