Sha256: 4626ffd5680378bcdc5d11771aef3b5bf13d4379047262f53efe9f822b909f13

Contents?: true

Size: 517 Bytes

Versions: 1

Compression:

Stored size: 517 Bytes

Contents

require 'spec_helper'

describe Models::Users::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) }

  describe "#authenticate" do
    pending
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_user_service-0.0.5 spec/models/user_spec.rb