a3a7ff8c44
This reverts commit78863c40b7
, reversing changes made tobbaa070cca
.
19 lines
458 B
Ruby
19 lines
458 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: users
|
|
#
|
|
# id :integer not null, primary key
|
|
# name :string
|
|
# balance :integer default(0), not null
|
|
# penning :boolean default(FALSE), not null
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe User, type: :model do
|
|
it "has a valid factory" do
|
|
expect(create(:user)).to be_valid
|
|
end
|
|
end
|