Sha256: 8e94f9df9ff1d5cdaba809db9dc3c790cd829e8c94a86a5b575814001f84b521

Contents?: true

Size: 1.23 KB

Versions: 12

Compression:

Stored size: 1.23 KB

Contents

Fabricator(:user) do
  first_name { FFaker::Name.name }
  last_name { FFaker::Name.last_name }
  name { |attrs| [attrs[:first_name], attrs[:last_name]].join(" ") }
  email { FFaker::Internet.email }
  password { FFaker::Internet.password }
  password_confirmation { |attrs| "#{attrs[:password]}" }
end

# == Schema Information
# Schema version: 20150320075507
#
# Table name: users
#
#  id                     :integer          not null, primary key
#  email                  :string           default(""), not null
#  encrypted_password     :string           default(""), not null
#  reset_password_token   :string
#  reset_password_sent_at :datetime
#  remember_created_at    :datetime
#  sign_in_count          :integer          default("0"), not null
#  current_sign_in_at     :datetime
#  last_sign_in_at        :datetime
#  current_sign_in_ip     :inet
#  last_sign_in_ip        :inet
#  created_at             :datetime
#  updated_at             :datetime
#  first_name             :string
#  last_name              :string
#  lang                   :string           default("EN")
#  phone                  :string
#
# Indexes
#
#  index_users_on_email                 (email) UNIQUE
#  index_users_on_reset_password_token  (reset_password_token) UNIQUE
#

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
doorkeeper_sso-0.4.9 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.4.8 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.4.6 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.4.3 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.4.1 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.4.0 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.2.7 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.2.6 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.2.5 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.2.3 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.2.2 spec/fabricators/user_fabricator.rb
doorkeeper_sso-0.2.0 spec/fabricators/user_fabricator.rb