Orphan model

- Added Orphan model and specs
- Added Address model and specs
Can still use new syntax:


it { is_expected.to validate_presence_of :attribute }
—
Sent from Mailbox

On Sat, Aug 30, 2014 at 9:36 AM, PurityControl <notifications@github.com>
wrote:

>> +
>> +  it { should_not allow_value('female').for(:gender) }
>> +
>> +  it { should validate_presence_of(:contact_number) }
>> +
>> +  it { should_not allow_value(nil).for(:sponsored_by_another_org) }
>> +
>> +  it { should allow_value(true, false).for(:sponsored_by_another_org) }
>> +
>> +  it { should validate_numericality_of(:minor_siblings_count).only_integer.is_greater_than_or_equal_to(0) }
>> +
>> +  it { should validate_presence_of(:original_address) }
>> +
>> +  it { should validate_presence_of(:current_address) }
>> +
>> +end
> @sampritipanda we made a decision in the last meeting to use the shoulda gem
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/AgileVentures/osra/pull/16/files#r16928304