Sha256: 91694c6947f5de2c60335728c0c68cfe728d139b37cc6b4efa391d96313e43a3
Contents?: true
Size: 571 Bytes
Versions: 1
Compression:
Stored size: 571 Bytes
Contents
require 'spec_helper' describe Models::User do it { should validate_presence_of(:application_id) } it { should ensure_length_of(:name).is_at_most(128) } it { should ensure_length_of(:nickname).is_at_most(128) } it { should ensure_length_of(:email).is_at_most(512) } it { should ensure_length_of(:image).is_at_most(1024) } it { should ensure_length_of(:location).is_at_most(512) } it { should ensure_length_of(:description).is_at_most(1024) } it { subject.class.table_name.should == 'restpack_users' } describe "#authenticate" do pending end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restpack_user_service-0.0.4 | spec/models/user_spec.rb |