Sha256: 6108d19fcdce9b700e2b442331a6bf092ae8343351246a85ef8fe50b81533039
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
FactoryGirl.define do factory :user do sequence(:email) { |n| "user-#{n}@example.com" } <% if username? %>sequence(:username) { |n| "user-#{n}" } <% end %>password "example" password_confirmation "example" first_name "John" last_name "Example" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authkit-0.7.0 | lib/generators/authkit/templates/spec/factories/user.rb |
authkit-0.5.0 | lib/generators/authkit/templates/spec/factories/user.rb |