added pending spec for aspect removal on account deletion

This commit is contained in:
maxwell 2010-10-14 00:12:00 -07:00
parent e1dd0cf6be
commit adbc4dddbc

View file

@ -86,6 +86,16 @@ describe User do
user.should_receive(:remove_person)
user.destroy
end
it 'should remove all aspects' do
pending "this should use :dependant => :destroy on the many assoc...but that screws this test suite..."
aspects = user.aspects
user.destroy
proc{ aspects.reload }.should raise_error /does not exist/
end
describe '#remove_person' do
it 'should remove the person object' do