Sha256: 39aba12451a4b19894d03374b712063d39fd4b89d9694dac707184ea3fa12d38

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

require 'spec_helper'

describe Popolo::Membership do
  [:organization_id, :person_id].each do |attribute|
    it {should validate_presence_of attribute}
  end

  [:start_date, :end_date].each do |attribute|
    it_should_behave_like 'a model with a date attribute', attribute
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
popolo-0.0.3 spec/models/popolo/membership_spec.rb