Sha256: fae5d31992dd623d243a87b16e9a2349870951dce5ceaf395d4e218c90c2e468

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

Fabricator(:user) do
  username { sequence(:username) { |i| "user#{i}" } }
  email { sequence(:email) { |i| "user#{i}@example.com" } }
  password 'password'
  password_confirmation 'password'
  activated_at Time.new.utc
end

Fabricator(:unactivated_user, from: :user) do
  activated_at nil
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goma-0.0.1.rc1 test/fabricators/users_fabricator.rb
goma-0.0.1.gamma test/fabricators/users_fabricator.rb