Sha256: bd62af010143adf010c9f1e96754a50c2a719717d6a2ba18827ef24e4824313e

Contents?: true

Size: 282 Bytes

Versions: 12

Compression:

Stored size: 282 Bytes

Contents

FactoryGirl.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

12 entries across 12 versions & 1 rubygems

Version Path
dispatch-rider-1.9.0 spec/factories/messages.rb
dispatch-rider-1.8.6 spec/factories/messages.rb
dispatch-rider-1.8.5 spec/factories/messages.rb
dispatch-rider-1.8.4 spec/factories/messages.rb
dispatch-rider-1.8.3 spec/factories/messages.rb
dispatch-rider-1.8.2 spec/factories/messages.rb
dispatch-rider-1.8.1 spec/factories/messages.rb
dispatch-rider-1.8.0 spec/factories/messages.rb
dispatch-rider-1.7.2 spec/factories/messages.rb
dispatch-rider-1.7.1 spec/factories/messages.rb
dispatch-rider-1.7.0 spec/factories/messages.rb
dispatch-rider-1.6.2 spec/factories/messages.rb