Sha256: 49769730396889541ecd7b6ccf15afc6e77cd3f62ca5e0adc11b4dc8eebcfdc6

Contents?: true

Size: 176 Bytes

Versions: 3

Compression:

Stored size: 176 Bytes

Contents

FactoryGirl.define do

  factory :message do
    sequence(:header) { |n| "#{n}#{n.ordinal} message"    }
    sequence(:body)   { |n| "This is test message ##{n}." }
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
feeder-0.5.1 spec/dummy/spec/factories/messages.rb
feeder-0.3.0 spec/dummy/spec/factories/messages.rb
feeder-0.2.0 spec/dummy/spec/factories/messages.rb