Sha256: c5ea0f97e91c8629ab8c370eca89a15c9b7a45a1c6633db8c92bdab0fae0463d

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

require 'spec_helper'

describe Models::Accounts::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

1 entries across 1 versions & 1 rubygems

Version Path
restpack_account_service-0.0.5 spec/models/account_spec.rb