Sha256: cdb6759a38bd389936f0b08aa4cb81abe864f4271d2ee0c22e6289d059e74320

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :chaskiq_subscriber, :class => 'Chaskiq::Subscriber' do

    sequence :email do |n|
      "person#{n}@example.com"
    end

    sequence :name do |n|
      "person #{n}"
    end

    sequence :last_name do |n|
      "#{n}son"
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chaskiq-0.0.6 spec/factories/chaskiq_subscribers.rb
chaskiq-0.0.5 spec/factories/chaskiq_subscribers.rb
chaskiq-0.0.4 spec/factories/chaskiq_subscribers.rb
chaskiq-0.0.3 spec/factories/chaskiq_subscribers.rb
chaskiq-0.0.2 spec/factories/chaskiq_subscribers.rb