Sha256: 6c85c778a70d45d9ea0891617b7c79bb139b9ba9df72883f50a57f0dd394e282

Contents?: true

Size: 189 Bytes

Versions: 15

Compression:

Stored size: 189 Bytes

Contents

require 'rails_helper'

module Ctws
  RSpec.describe User, type: :model do
    it { should validate_presence_of(:email) }
    it { should validate_presence_of(:password_digest) }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ctws-0.3.0.beta spec/models/ctws/user_spec.rb
ctws-0.2.3.beta spec/models/ctws/user_spec.rb
ctws-0.2.2.beta spec/models/ctws/user_spec.rb
ctws-0.2.1.beta spec/models/ctws/user_spec.rb
ctws-0.2.0.beta spec/models/ctws/user_spec.rb
ctws-0.1.14.beta spec/models/ctws/user_spec.rb
ctws-0.1.13.alpha spec/models/ctws/user_spec.rb
ctws-0.1.12.alpha spec/models/ctws/user_spec.rb
ctws-0.1.11.alpha spec/models/ctws/user_spec.rb
ctws-0.1.10.alpha spec/models/ctws/user_spec.rb
ctws-0.1.9.alpha spec/models/ctws/user_spec.rb
ctws-0.1.8.alpha spec/models/ctws/user_spec.rb
ctws-0.1.7.alpha spec/models/ctws/user_spec.rb
ctws-0.1.6.alpha spec/models/ctws/user_spec.rb
ctws-0.1.5.alpha spec/models/ctws/user_spec.rb