Sha256: ec5b2bf8bf18f9cf9d7cd5671eb2a4eb7b2d65cc134437571b98c3ea0bb84c86
Contents?: true
Size: 260 Bytes
Versions: 2
Compression:
Stored size: 260 Bytes
Contents
require 'spec_helper' describe Models::Account do it { should validate_presence_of(:application_id) } it { should validate_presence_of(:created_by) } it { should validate_presence_of(:name) } it { should ensure_length_of(:name).is_at_most(256) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restpack_account_service-0.0.4 | spec/models/account_spec.rb |
restpack_account_service-0.0.3 | spec/models/account_spec.rb |