2014-12-04 19:50:02 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: users
|
|
|
|
#
|
2014-12-09 18:56:56 +01:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# name :string(255)
|
|
|
|
# last_name :string(255)
|
|
|
|
# balance :integer default(0)
|
|
|
|
# nickname :string(255)
|
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
# encrypted_password :string(255) default(""), not null
|
|
|
|
# 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 :string(255)
|
|
|
|
# last_sign_in_ip :string(255)
|
2014-12-10 21:25:21 +01:00
|
|
|
# admin :boolean
|
2014-12-09 20:28:50 +01:00
|
|
|
# dagschotel_id :integer
|
2014-12-10 21:25:21 +01:00
|
|
|
# avatar_file_name :string(255)
|
|
|
|
# avatar_content_type :string(255)
|
|
|
|
# avatar_file_size :integer
|
|
|
|
# avatar_updated_at :datetime
|
|
|
|
# orders_count :integer default(0)
|
2014-12-04 19:50:02 +01:00
|
|
|
#
|
|
|
|
|
2014-11-06 14:46:59 +01:00
|
|
|
require 'test_helper'
|
|
|
|
|
|
|
|
class UserTest < ActiveSupport::TestCase
|
|
|
|
# test "the truth" do
|
|
|
|
# assert true
|
|
|
|
# end
|
|
|
|
end
|