Sha256: ca60c3f007649fdfa519150fc9715429b4086969cdc0b2900a9aa05b0c51e940
Contents?: true
Size: 427 Bytes
Versions: 10
Compression:
Stored size: 427 Bytes
Contents
FactoryGirl.define do factory :person do sequence(:first_name) { |n| "John_#{n}" } sequence(:last_name) { |n| "Doe_#{n}" } sequence(:email) { |n| "johndoe_#{n}@domain.com"} title "Sales Rep" dob (Time.now - 30.years) is_manager false end factory :credit_card_info do sequence(:cardholder) { |n| "John Adams #{n}" } exp_date Time.now + 2.years secret_code SecureRandom.hex(8) end end
Version data entries
10 entries across 10 versions & 1 rubygems