Sha256: 8256dc4ae6fc76970dfaefc4c8fc3f0f996124c2f38cba9770a6e6d826e804b1

Contents?: true

Size: 353 Bytes

Versions: 7

Compression:

Stored size: 353 Bytes

Contents

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

FactoryGirl.define do
  factory :spud_user do
    sequence :email do |n|
      "john.doe.#{n}@example.com"
    end
    sequence :login do |n|
      "johndoe#{n}"
    end
    password "password"
    password_confirmation "password"
    first_name "John"
    last_name "Doe"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tb_checkout-1.1.1 spec/factories/spud_users.rb
tb_checkout-1.1.0 spec/factories/spud_users.rb
tb_checkout-1.0.7 spec/factories/spud_users.rb
tb_checkout-1.0.6 spec/factories/spud_users.rb
tb_checkout-1.0.5 spec/factories/spud_users.rb
tb_checkout-1.0.4 spec/factories/spud_users.rb
tb_checkout-1.0.3 spec/factories/spud_users.rb