27 lines
		
	
	
		
			645 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			645 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# == Schema Information
 | 
						|
#
 | 
						|
# Table name: users
 | 
						|
#
 | 
						|
#  id              :integer          not null, primary key
 | 
						|
#  admin           :boolean          default(FALSE), not null
 | 
						|
#  email_address   :string           not null
 | 
						|
#  lang            :string           default("en")
 | 
						|
#  password_digest :string           not null
 | 
						|
#  username        :string
 | 
						|
#  created_at      :datetime         not null
 | 
						|
#  updated_at      :datetime         not null
 | 
						|
#
 | 
						|
# Indexes
 | 
						|
#
 | 
						|
#  index_users_on_email_address  (email_address) UNIQUE
 | 
						|
#
 | 
						|
require 'rails_helper'
 | 
						|
 | 
						|
RSpec.describe User, type: :model do
 | 
						|
  context "1" do
 | 
						|
    it "equals 1" do
 | 
						|
      expect(1).to eq(1)
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |