27 lines
877 B
Ruby
27 lines
877 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: users
|
|
#
|
|
# id :bigint not null, primary key
|
|
# avatar_url :string
|
|
# email :string default(""), not null
|
|
# encrypted_password :string default(""), not null
|
|
# name :string not null
|
|
# remember_created_at :datetime
|
|
# reset_password_sent_at :datetime
|
|
# reset_password_token :string
|
|
# roles :string default([]), is an Array
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_users_on_email (email) UNIQUE
|
|
# index_users_on_reset_password_token (reset_password_token) UNIQUE
|
|
#
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe User, type: :model do
|
|
pending "add some examples to (or delete) #{__FILE__}"
|
|
end
|