Sha256: 614afa53d9b86a3c422a77d126fc4d1eceec87964d481c2b7d8d30902118fa75

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

require 'spec_helper'

describe Models::Groups::Membership do
  it { should validate_presence_of(:application_id) }
  it { should validate_presence_of(:group_id) }
  it { should validate_presence_of(:user_id) }

  it { should belong_to(:group) }
  it { should belong_to(:invitation) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_group_service-0.0.8 spec/models/membership_spec.rb